UIAlertView 警告框

 

    UIAlertView *alert =[[UIAlertViewalloc

                          initWithTitle:@"You tap the buton,boy!" 

                          message: [NSString stringWithFormat:@"%@",buttonTitle]

                          delegate:nil 

                          cancelButtonTitle: @"OK."

                        otherButtonTitles: nil];

    [alert show];

    [alert release];

posted @ 2012-07-14 12:54  zander  阅读(137)  评论(0)    收藏  举报