Black bars on launch screen on iPhone5 (and iPhone6)

坚强是说给别人听的谎言 提交于 2019-11-26 12:27:36

As stated by rmaddy in the comments, if you are supporting iOS < 8, you still need to do this:

General / App Icons and Launch Images

Launch Image Source - select LaunchImage for asset catalog.

Add a 640x1136 image for the "Retina 4" option.

So I guess the LaunchScreen.xib is useless if you target iOS < 8, unless you want to update both that and the asset catalog when the image changes.

if you are not creating new Project, like changing or rename old Project, you should remove all Images.xcassets from Project.

then

Navigate to project settings

Under "App Icons and Launch Images" click on "Use Asset Catalog"

Select "Migrate" on the popup that appears. make new Asset.

it work pretty fine for me.

env is xocde6.1 iPhoneSimulator5/5S/6/6+ on iOS8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!