Je voudrais mettre UIButton sur mon UIViewController avec le style comme des boutons dans UIActionSheet. Que dois-je ajouter ici:UIButton comme dans UIActionSheet
UIButton *button = [UIButton buttonWithType: UIButtonTypeCustom];
[ button setFrame: CGRectMake(10, 10, 50, 35) ];
[button setTitle:@"Button from UIActionSheet" forState: UIControlStateNormal];
[self addSubview: button];
Non. Si ce n'est pas dans la documentation, vous ne pouvez probablement pas le faire hors de la boîte. http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIButton_Class/index.html –