UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"お知らせ" message:@"登録解除しますか" delegate:self cancelButtonTitle:@"いいえ" otherButtonTitles:@"はい", nil] autorelease] ;
[alert show];

- (void)alertView:(UIAlertView*)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
   if (buttonIndex != alertView.cancelButtonIndex )
   {
       //
   }

最終更新:2011年08月25日 10:55