Custom app background on launch image [ios 4 & 5]

462 views Asked by At

my iOS application has the option to change the background image, there are 3 different background patterns available, and the user can select any of them.

The problem is the launch image, reading the iOS HIG it is supposed to be an image similar to the GUI (first 'window') of the application. Is it possible to load a different image depending on a user prefference (the background pattern selected)?

Thanks!

3

There are 3 answers

0
Daniel G. Wilson On BEST ANSWER

It is not possible to do so - you can only have one default.png, and you can't alter it programmatically before the app starts. I'd recommend simply creating a splash screen different from the app's background. Note that the iOS HIG is a Guideline not a requirement.

0
James On

It is not possible. Default.png needs to be set when you compile.

0
LJ Wilson On

You cannot change the Launch Image during app launch (or anytime during App execution). The way to handle this (realizing that you might be violating the HIG) is to present your own image directly after applicationDidFinishLaunchingWithOptions, and leave the Launch Image as either an intermediate image or blank.