iOS UIAlertController
来源:互联网 发布:mac如何卸载flash插件 编辑:程序博客网 时间:2024/04/29 13:20
//UIAlertController
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:UIAlertControllerStyleAlert];
// Create the actions.
UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:cancelButtonTitle style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
}];
UIAlertAction *otherAction = [UIAlertAction actionWithTitle:otherButtonTitle style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
RegisterViewController *registerVC = [[RegisterViewController alloc]init];
[self.navigationController pushViewController:registerVC animated:YES];
}];
// Add the actions.
[alertController addAction:cancelAction];
[alertController addAction:otherAction];
[self presentViewController:alertController animated:YES completion:nil];
- iOS,UIAlertController
- ios UIAlertController
- iOS UIAlertController
- iOS - UIAlertController
- iOS UIAlertController
- ios UIAlertController
- iOS UIAlertController
- iOS UIAlertController
- iOS开发-UIAlertController
- iOS 8 UIAlertController
- iOS 8 UIAlertController 控件
- IOS初级:UIAlertController
- iOS编程------UIAlertController
- iOS开发--自定义UIAlertController
- iOS 开发之UIAlertController
- iOS - UIAlertController相关用法
- ios UIAlertController学习
- iOS UIAlertController提示框
- Python正则表达式
- 做时间管理必须要知道的三件事
- pull解析
- xListView
- HttpUrlconnection+pull
- iOS UIAlertController
- Xcode创建Swift和OC的桥接文件
- Python CGI编程
- 判断字符串为6~12位“字符”
- pull+httpurl
- vim中tab 字符配置
- C++之IO流
- 阿里云企业级互联网架构
- HttpUrlConnection和Pull解析