IOS startup image file type

I am working on an iPad application and reading this page , which says that startup images should be in PNG format, but in their iOS Human Guide, they recommend using .png rather than β€œmandatory”. I want to use the .jpg format as my images to run, because the image size to run in .png is about 2 mb, and only 90 kb in .jpg format. Thanks

+7
source share
2 answers

You need to specify the UILaunhImageFile field in Info.plist

<key>UILaunchImageFile</key> <string>Default.jpg</string> 

Setting this information will force the system to look for Default.jpg and all its options (portait, landscape, @ 2x, etc.) instead of .png

For example, I am encoding a universal application, and now all launch images: .jpg, including iPad Retina: Default-Portrait@2x.jpg

+14
source

Yes it's true. Even if you find some solution (for example, just rename the jpeg file to "Default.png"), since it is documented that it must be PNG, then Apple can freely stop working at any time.

+1
source

All Articles