//创建警告框对象UIAlertView*alertView=[[UIAlertViewalloc]initWithTitle:@"警告!"message:@"您确定退出吗?"delegate:selfcancelButtonTitle:@"取消"otherButtonTitles:@"确定",@"继续",@"查看",nil];//显示警告框[alertViewshow];//需要在.h里遵守UIAlertViewDelegate协议并且实现协议里面方法-(void)alertView:...
查看全文