how to present a view controller on iOS7 without the status bar overlapping

后端 未结 4 1045
闹比i
闹比i 2020-12-13 00:57

I\'m seeing when I migrated my app to iOS 7, the nav bar is appearing under the status bar when presenting a view controller. I think a lot of people have run into this same

4条回答
  •  再見小時候
    2020-12-13 01:22

    You need to add a Vertical Constraint from your top most view to Top Layout Guide as described in the following article by Apple.

    https://developer.apple.com/library/ios/qa/qa1797/_index.html

    enter image description here

提交回复
热议问题