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

后端 未结 5 510
爱一瞬间的悲伤
爱一瞬间的悲伤 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:41

    You need to add a Default-568h@2x.png launch image. Here is one that I found by googling (I didn't create it and take no credit for it): https://jira.appcelerator.org/secure/attachment/31241/Default-568h@2x.png

    If you want to create your own image its dimensions have to be 640 × 1136. Since you did no customizing the filename should be "Default-568h@2x.png".

提交回复
热议问题