xcode Resolve "Safe Area Layout" errors

Jacksonkr picture Jacksonkr · Aug 25, 2017 · Viewed 8.7k times · Source

Illegal Configuration - Safe Area Layout Guide before iOS 9.0

What is the correct way to stop this error?

For now I'm merely unchecking "Use Safe Area Layout Guides" which allows me to compile the app without error.

Answer

 Dmitriy Greh picture Dmitriy Greh · Oct 5, 2017

To resolve this issue you need to do next steps:

  1. You need to click on your ViewController in your Interface Builder.
  2. Then go to Attributes Inspector. And click there on "File Inspector".
  3. Disable "Use Safe Area Layout Guides".

Use safe area layout guides disabled