UIAlertController在8以下不支持
2016-01-03 18:41
609 查看
加入以下内容进行版本判断
if
([[[UIDevice currentDevice]
systemVersion]
floatValue] >= 8) {
再添加
UIAlertController 的相关内容
要不然苹果8 以下的手机会运行不了
} else {
UIAlertView内容
}
if
([[[UIDevice currentDevice]
systemVersion]
floatValue] >= 8) {
再添加
UIAlertController 的相关内容
要不然苹果8 以下的手机会运行不了
} else {
UIAlertView内容
}
相关文章推荐
- 熔断器模式(CircuitBreaker)
- Android开发之Buidler模式初探结合AlertDialog.Builder讲解
- Easyui-DataGrid 的增删查改
- request对象
- 解决 UITableViewCell的点击事件和手势的冲突问题
- 并发队列ConcurrentLinkedQueue和阻塞队列LinkedBlockingQueue用法
- HDFS2—SequenceFile(小文件的解决方案)
- Android 子线程更新 UI
- 167,Xcode 3D查看UI布局效果
- UI组件的呈现
- QUESTION 47 How many copies of the alert log are stored in the directory specified by the initializa
- UUID 获取设备的唯一标志
- UVA 11133 - Eigensequence DP
- iOS开发笔记--如何去掉UItableview header(footer)view黏性(sticky)
- EasyUI Tree节点拖动到指定容器
- ios uialertview
- ios uitableviewcell 的具体功能实现
- iOS之UITableView组头组尾视图/标题悬停
- [easyui]单例模式封装组件,提高性能,按需使用
- Android高性能加载大量图片系列课程2-在非UI线程中处理图片