title: Safe area layout guides in xib files - iOS 10
body: <p>I started adapting my app for iPhone X and found an issue in Interface Builder.
  The safe area layout guides are supposed to be backwards compatible, according to official Apple videos. I found that it works just fine in storyboards.</p>
  
  <p>But in my XIB files, the safe area layout guides are not respected in iOS 10.</p>
  
  <p>They work fine for the new OS version, but the iOS 10 devices seem to simply assume the safe area distance as zero (ignoring the status bar size).</p>
  
  <p>Am I missing any required configuration? Is it an Xcode bug, and if so, any known workarounds?</p>
  
  <p>Here is a screenshot of the issue in a test project (left iOS 10, right iOS 11):</p>
  
  <p><a href="https://i.stack.imgur.com/zcOJx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zcOJx.png" alt="safe area alignment on top of the screen"></a></p>