Safe area wrong size?

Hi,


I'm in the process of upgrading a Universal app to Xcode 9. As part of this process I'm adding the safe area layout guide to all of my views. (Note: I keep each of my views in a separate XIB file, not a storyboard).


This was working fine until I got to one particular view, in which the "Safe Area" is always a 667x335 rectangle, regardless of which screen size or screen orientation I choose. I can't figure out what is causing this or how to fix it, and it's holding up my effort to make the changes I need to this screen. The settings are identical to other screens that work fine, as far as I can tell. The size is set to "Inferred".


What's going on here?

Replies

Hi flarosa, could you share a screenshot or the storyoard file? You could also file a bug on https://bugreport.apple.com and attach it there if you don't want ot share it widely.

Hi, unfortunately I don't have it anymore. I deleted the view and re-created it, and this ended up fixing the problem.