Status bar and navigation bar appear over my view's bounds in iOS 7

后端 未结 20 1654
既然无缘
既然无缘 2020-11-22 07:09

I recently downloaded Xcode 5 DP to test my apps in iOS 7. The first thing I noticed and confirmed is that my view\'s bounds is not always resized to account for the status

20条回答
  •  遇见更好的自我
    2020-11-22 07:58

    The simplest trick is to open the NIB file and do these two simple steps:

    1. Just toggle that and set it to the one you prefer:

    Enter image description here

    1. Select those UIView's/UIIMageView's/... that you want to be moved down. In my case only the logo was overlapped an I've set the delta to +15; (OR -15 if you chose iOS 7 in step 1)

    Enter image description here

    And the result:

    Before After

提交回复
热议问题