【iOS】Safe Area Layout Guide before iOS 9.0
来源:互联网 发布:英文翻译软件哪个好 编辑:程序博客网 时间:2024/06/05 19:14
iPhoneX马上快要预售了,齐刘海的小发型还是够屌屌的。今天升级完Xcode9, 打开Xcode顺手编译的了一下工程结果报错了!差Xcode这么不给面子,看了下错误信息“Safe Area Layout Guide before iOS 9.0”,“Safe Area”, 记得WWCD上面老库克提到过对于iPhone X的适配苹果提供了一个安全区域的概念,我的Xcode工程最低支持版本是7.0,所以编译报错。
看了一下ViewController中确实多了一个像状态栏的View,这个应该就是刘海的部分了,如图:
然后这个问题解决确实很简单的:选中Storyboard,查看“Show the File inspector”, 属性面板中默认勾选了”Usa SafeArea Layout Guides” 的选项,去掉它就可以解决问题了。
最后如果工程中有 LaunchScreen.storyboard 的同学不要忘记去除launchScreen面板中的 “Usa SafeArea Layout Guides” 的选项。
阅读全文
0 0
- safe area layout guide before ios 9.0
- safe area layout guide before ios 9.0
- 【iOS】Safe Area Layout Guide before iOS 9.0
- [iOS] Safe Area Layout Guide before iOS 9.0
- xcode9 safe area layout guide before ios 9.0问题
- Xcode9提示"Safe Area Layout Guide before iOS 9.0"
- iPhoneX适配篇 && Safe Area Layout Guide Before IOS 9.0
- Xcode9出现错误safe area layout guide before ios 9
- iOS开发中,illegal configuration Safe Area Layout Guide before iOS 9.0
- Xcode 9.0 报错, Safe Area Layout Guide Before IOS 9.0
- Xcode 更新到9.0 新建xib报错: Safe Area Layout Guide Before IOS 9.0
- Xcode 9.0 报错, Safe Area Layout Guide Before IOS 9.0
- iOS11,Xcode 9.0 报错,Safe Area Layout Guide Before iOS 9.0
- Xcode 9 illegal Configuration Safe Area Layout Guide before iOS 9.0
- Xcode 9 illegal Configuration Safe Area Layout Guide before iOS 9.0
- Xcode9出现错误safe area layout guide before ios 9 真正解决办法
- iOS Xcode9 Safe Area Layout Guide Before iOS9.0报错解决
- Safe Area Layout Guide before ios9.0
- JSP第二天
- 案例|FEC筷云助力青岛,倾力打造智慧社区
- easyui 分页 + mybatis 分页插件 PageHelper 完成分页显示功能(SpringMVC + mybatis 框架)
- 关于HTTP协议,一篇就够了
- 编译PHP-memchche扩展
- 【iOS】Safe Area Layout Guide before iOS 9.0
- VBS关机代码
- 用设计模式来代替臃肿的ifelse层层判断
- AM4379 EDMA相关总结
- linux学习---linux命令大全
- SSO单点登录
- 信号量Semaphore
- 关于MYSQL数据库中的的四个事务等级的实例
- 用maven创建Spring mvc项目