使用 Xcode 9 新建工程,如果设置支持最低系统版本为 iOS 8 就报错,提示如下:

Safe Area Layout Guide before iOS 9.0

看这提示的意思是说 Safe Area Layout Guide 不支持 iOS 9.0 之前的版本,那就把这个东西给关掉就能解决,方法是点击 Main.storyboard,选择 ViewController 去掉 Use Safe Area Layout Guide,如下图所示:

Xcode 9 新建的工程如何支持 iOS 8

然后再选择 LaunchScreen.storyboard,用同样的方法去掉 Use Safe Area Layout Guide,再编译程序就没问题了。

原文地址:https://www.exchen.net/how-does-xcode9-support-ios-8.html

相关文章:

  • 2021-04-14
  • 2021-04-27
  • 2021-08-10
  • 2021-12-10
  • 2022-01-13
  • 2021-05-30
猜你喜欢
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
  • 2021-04-26
  • 2021-08-17
相关资源
相似解决方案