webchun
webchun

Reputation: 1214

iOS launch images file type

I'm working on an iPad app and reading this page that said launch images must be in PNG format, but in their iOS Human Guidelines, they only recommend to use .png, not "a must". I want to use .jpg format as my launch images because my launch images size in .png are about 2 mb alone, and only 90 kb in .jpg format. Thanks

Upvotes: 7

Views: 4296

Answers (2)

javiergov
javiergov

Reputation: 961

You need to specify in the Info.plist the UILaunhImageFile field

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

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

for example, I'm coding an Universal app, and now all the launch images are .jpg, including iPad Retina: [email protected]

Upvotes: 14

Anomie
Anomie

Reputation: 94794

Yes, that's true. Even if you find some workaround (e.g. just renaming the jpeg file to "Default.png"), since it is documented that it must be PNG then Apple is free to make your workaround stop working at any time.

Upvotes: 1

Related Questions