UIAlertController
来源:互联网 发布:linux 替换分隔符 编辑:程序博客网 时间:2024/05/18 13:43
- (IBAction)backAction:(id)sender { //初始化 UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"是否注销?" message:@"真的要注销吗" preferredStyle:UIAlertControllerStyleActionSheet]; //添加按钮 [alert addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:nil]]; [alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) { [self.navigationController popViewControllerAnimated:YES]; }]]; //弹出 [self presentViewController:alert animated:YES completion:NULL];}
0 0
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIalertController
- UIAlertController
- UIalertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- g54y6huj6yh
- 屏幕常用
- [LeetCode][Java] Count and Say
- TCP/IP网络编程 学习笔记_4 --OSI七层网络模型
- 2012年5月SAT香港真题解析
- UIAlertController
- EventBus在Android中的简单使用
- GRE写作必备句型
- JavaJdbc ORA-12505错误解决方法
- 移植Linux3.4.2版本内核到mini2440(一)
- NTFS For Mac其它功能解析
- Spring2.5.6 和Spring3.0.5所有jar下载地址
- 2012年5月SAT香港真题解析
- linux crobtab