对于这个问题,我遇到的情况是Main.storyboard和LaunchScreen.storyboard中使用了Safe Area Layout Guide ,但是项目最低兼容版本为8.0,查看文档,你会发现,这个“Safe Area Layout Guide”最低兼容版本是iOS 9.0,因此保存。解决办法:

1,修改项目最低兼容版本为9.0,这样就ok

2,对于项目需求仍需要兼容iOS 8.0,只要去除Main.storyboard和LaunchScreen.storyboard这两个文件中使用的“Safe Area Layout Guide”即可。如图:

取消前:

xcode 9 :Safe Area Layout Guide before iOS 9.0?

取消后:

xcode 9 :Safe Area Layout Guide before iOS 9.0?

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2021-11-19
  • 2021-09-06
  • 2021-06-14
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-26
  • 2021-05-01
  • 2021-12-15
  • 2021-10-09
  • 2021-08-04
  • 2021-07-15
  • 2021-08-26
相关资源
相似解决方案