Xcode 6 & Swift: Black bars appear above and below the viewcontroller on iOS 7 iPhone 5 device

后端 未结 5 524
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-06 02:42

I created a single view test app and tried running it on my iPhone 5 with iOS 7 installed. It looks like the screen is set to the iPhone 4 size and black bars appear above and b

5条回答
  •  鱼传尺愫
    2021-02-06 03:37

    I have had the same issue. In my universal app I configured orientation for iPad and iPhone and forgot to set back devices drop down to Universal (on target general settings screen). When I set it back - screen shows as expected.

提交回复
热议问题