摘要:
首先我们要支持协议,在.h文件内添加协议#import @interface ViewController : UIViewController@property(retain,nonatomic)UIAlertView *alertV,*alertV2;我们在对提示框内各按键进行设定时,要注意,如果一个case里面有多句,要加上{}//设置提示窗口的各按钮的功能-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ //如果有多个提示窗口,那么不同提示窗口的按钮功能可能... 阅读全文