苹果在iOS7中引入Top Layout Guide和Bottom Layout Guide,这些布局指南在iOS 11中被弃用,取而代之是Safe Area Layout Guide.
第一步、在项目报错地方打开右边工具栏找到如图位置选中View Controller,去掉Use Safe Area Layout Guides
第二步、切换到Main.storyboard单元文件,重复第一步操作打开右边工具栏找到如图位置选中View Controller,去掉Use Safe Area Layout Guides
Xcode9 Safe Area Layout Guide Before iOS9.0
猜你喜欢
转载自blog.csdn.net/yanhaijunyan/article/details/105371913
今日推荐
周排行