首页 > 其他 > 详细

UIAlertView 弹出提示

时间:2015-01-20 10:23:36      阅读:238      评论:0      收藏:0      [点我收藏+]

 UIAlertView *sussess = [[UIAlertView alloc]initWithTitle:nil message:@"发布成功" delegate:nil cancelButtonTitle:@"确定" otherButtonTitles: nil];

[sussess show];

 

弹出单击确定 操作:delegate:self  遵守协议<UIAlertViewDelegate>

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{

在这个方法中写入要执行的操作

}

UIAlertView 弹出提示

原文:http://www.cnblogs.com/qq907374866/p/4235236.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!