How to add these three files properly?"Default.png, [email protected], [email protected]" for universal app for iPhone/iPad?

Afreen Khan picture Afreen Khan · Apr 9, 2013 · Viewed 14.5k times · Source

I added "Default.png, [email protected], [email protected]" these three files in my universal project for splash image, I have three diffrent image and the resolution exactly the same as mention in apple docs, for iPad 768 * 1024 , for iphone-4s -> 320 * 480 , for iphone 5-> 640 * 1136.

But my problem is that when I rum on iphone4s- iphone5 the splash rum properly, but when I run on Ipad the Deafault.png splash not showing instead of it takes reference from [email protected]. The [email protected] is showing on the iPad instead of Deafault.png and the image got blur and shrink on ipad also, beacuse Deafault.png not showing. How to slove this problem.

Any Idea or suggestion from experts would be highly welcome.

Answer

Vedchi picture Vedchi · Apr 9, 2013

Launch image naming should be similar like this for universal application.

iPhone > Default~iPhone.png,Default@2x~iPhone.png & [email protected].
iPad > Default-Portrait~iPad.png,Default-Portrait@2x~iPad.png,Default-Landscape~iPad.png,Default-Landscape@2x~iPad.png

Please refere the following link for more details regarding image resolutions

http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html

and for image naming conventions use the following link

http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/App-RelatedResources/App-RelatedResources.html