Swift-在AppDelegate弹框(UIAlertController)进行present跳转--学习笔记
来源:互联网 发布:游戏网络推广员 编辑:程序博客网 时间:2024/05/16 02:02
let alertController =UIAlertController(title:"温馨提示",
message:"你有一条消息", preferredStyle: .alert)
let okAction =UIAlertAction(title:"查看", style: .default, handler: {
action in
print("点击了确定")
})
alertController.addAction(okAction)
UIApplication.shared.keyWindow?.rootViewController?.present(alertController, animated: true, completion: nil)
0 0
- Swift-在AppDelegate弹框(UIAlertController)进行present跳转--学习笔记
- Present UIAlertController from AppDelegate
- Swift开发:弹框(UIAlertController)
- Swift开发:UIAlertController 弹框
- Swift开发:UIAlertController 弹框
- UIAlertController在Swift中的用法
- Swift present 与 push 跳转问题
- 学习笔记:UIAlertController
- iOS UIAlertController学习笔记
- UIAlertController的延展(swift)
- swift开发笔记11 - 使用UIAlertController在底部弹出日期选择框
- iOS学习笔记(2)AppDelegate的生命周期.
- swift学习记录(跳转语句)
- Swift学习-页面跳转
- swift 学习笔记之在柯里化(Currying)
- 【iOS】swift-ObjectC 在iOS 8中使用UIAlertController
- swift -- swift学习笔记(1)
- Swift UI学习之UIAlertController(变得麻烦了)
- Numpy中的数组花式索引
- 剑指offer-面试题 9 斐波那契数列
- Android用户引导页实现,圆点实现动画效果
- IE6双边距bug*
- parzen窗方法和k近邻方法估计概率密度
- Swift-在AppDelegate弹框(UIAlertController)进行present跳转--学习笔记
- web.xml配置文件元素详解
- SystemServer进程启动流程的理解
- 归并排序
- TensorFlow安装
- LINUX(redhat 7.0) 进程定义
- [LeetCode]268. Missing Number
- 数据结构课程设计-图书馆管理系统
- SPOJ