ActionSheetを表示する
下からニョーンと出てくるヤツ。
UIActionSheetDelegateを実装し
UIActionSheet *sheet =[[UIActionSheet alloc] initWithTitle:@"title" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:"OK" otherButtonTitles:@"button1", @"button2", nil]; [sheet showInView:self.view]; [sheet release];
と、すると表示される。
otherButtonTitlesはカンマで区切って複数の文字列を渡すことが可能。
destructiveButtonTitleって破壊的なボタンという意味だろうけど、どういう機能なのかが解らない。