Search code examples
iosobjective-cios7ios8splash-screen

Launch Image working on iPhone 4 & 5 but not on iPhone 6 and 6 plus in Objective-C


I've set launch images by going in Asset Catalog for iPhone 4,5, 6 and 6 plus. I know the dimensions for images and I've used them correctly. I've named the launch image for iPhone 6 and 6+, [email protected] and [email protected] respectively. But still the launch images that I've set for iPhone 6 and 6 plus are not working where as the images for iPhone 4 & 5 are showing up. Please help. Thanks in advance.


Solution

  • Apple removed LaunchImage from iOS 8. Now if you want to show splash screen you need to use LaunchScreen.xib which now is creating with new project or another xib or storyboard that can be selected in "App Icons and Launch Images" section in "General" tab of your project settings.

    enter image description here

    From developer docs: "On iOS 8, the launch screen file will be used, and on iOS 7, the launch images will be used." Docs for launch screen here.