UIAlertController
来源:互联网 发布:pps网络电视播放器 编辑:程序博客网 时间:2024/05/18 14:23
UIAlertController *alert = [UIAlertController alertControllerWithTitle:msg message:nil preferredStyle:UIAlertControllerStyleActionSheet];
[alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) {
NSLog(@"确定");
}]];
[self presentViewController:alert animated:YES completion:^{
}];
[alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) {
NSLog(@"确定");
}]];
[self presentViewController:alert animated:YES completion:^{
}];
0 0
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIalertController
- UIAlertController
- UIalertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- UIAlertController
- Android 中 java.lang.IllegalArgumentException: pointerIndex out of range 异常的处理方法
- java基础——String类
- NOJ 2015年陕西省程序设计竞赛网络预赛(正式赛)(约翰·亨利-dp)
- QTabelWidget 清空行的注意事项
- 《unix网络编程》中源码使用方法
- UIAlertController
- Linux 命令学习
- Linux系统启动详解
- 手势密码
- 服务端工程师入门与进阶 Java 版
- PHP设计模式——策略模式
- 第八周上机项目3 分数类中的运算符重载
- JavaAPI
- # NOJ 2015年陕西省程序设计竞赛网络预赛(正式赛)(落后的小岛-最小生成树-并查集迭代路径优化与不优化对比)[Hobo]