Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can i use a jpeg image for launching Screen

i was currently in to an app development and i have added a launcher screen in JPEG format which is displayed both in simulator and device .. but does it create any problem with apple approval guidelines ?

like image 822
Heam Avatar asked Jan 04 '11 11:01

Heam


2 Answers

Update for iOS 8+: you can now use XIB-based launch assets, which is by far the best approach to reduce file size and re-use the same assets for multiple screens sizes. Also, since XIBs support JPG assets, you can always embed JPGs onto XIB files now too!


The Apple documentation pre iOS 8 (now removed), explicitly stated that only PNG is allowed for the launch image:

App Launch (Default) Images

Every app must provide at least one launch image. This image is typically in a file named Default.png that displays your app’s initial screen in a portrait orientation. However, you can also provide other launch images to be used under different launch conditions. All launch images must be PNG files and must reside in the top level of your app’s bundle directory. (Avoid using interlaced PNGs.)

I can't speak to how accurate this document is, but it seems they are pretty specific on this point.

My advice: use 8-bit PNG's, and if your files are getting to big, simply don't include the @2x versions for the retina iPad. The 1x version upscales reasonably well on the retina iPad, and better than bloating your app by 5MB+

like image 175
William Denniss Avatar answered Sep 20 '22 10:09

William Denniss


Yes ofcourse you can use JPEG image in Launch screen or anywhere in project.NO it absolutely does not create any problems in approval process of Apple.So go ahead and code!

like image 31
Aditya Avatar answered Sep 22 '22 10:09

Aditya