@3x images incorrectly used on iPhone 6 or 5S or 5 in XIB's with the “Use as Launch Image” option set

青春壹個敷衍的年華 提交于 2019-12-06 05:37:23
Tim Edwards

I've just tried this myself, and get the same behaviour you have mentioned.

By setting the Launch Images Source to "Use Asset Catalog", and adding the Launch Image you can get each device to show its specific background. Some screenshots can be seen here:

Supporting iPhone 6 and iPhone 6+ with different launch/splash screen image for iPad Portrait and Landscape orientations

Looking into it a bit more, I found a website that mention:

http://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/

"You can use the new adaptive UI features in Interface Builder to fit your layout to different screen sizes. If your scene requires screen-size-specific images, use asset catalogs to define different images per size class."

Maybe that is the only way to do it.

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