今天写个alterview的事件

来源:互联网 发布:骨关节功能解剖学知乎 编辑:程序博客网 时间:2024/05/20 16:43

UIAlertView *av=[[UIAlertViewalloc]initWithTitle:@"提醒"message:@"即将返回"delegate:selfcancelButtonTitle:@"不了"otherButtonTitles:@"好的",nil];

                                [av show];

初始化的时候以及实现了delegate,所以直接找clickbutton这个协议方法

0 0
原创粉丝点击