how to fix status bar overlap issue in ios 7

后端 未结 4 1876
遇见更好的自我
遇见更好的自我 2020-12-06 14:36

I am developing an application that\'s working fine in IOS6. But in iOS7, the status bar overlaps with the view.

As an example :

4条回答
  •  自闭症患者
    2020-12-06 15:20

    This is the default behavior for UIViewController on iOS 7. The view will be fullscreen and the status bar will cover the top of the view. If you have navigationBar hidden, then you have to adjust all the UIView elements by shifting 20 points.

提交回复
热议问题