dontWatchMyProfile
dontWatchMyProfile

Reputation: 46300

Is it possible to programmatically change the Default.png launch image?

Is it possible to programmatically change the Default.png launch image?

For example, could I replace it by an other image that fits better? My app has a tab bar and every tab has a very different screen, and I want to recover to that particular tab after a hard launch from scratch when the app got terminated in the background.

Upvotes: 6

Views: 5192

Answers (3)

tt.Kilew
tt.Kilew

Reputation: 6084

Actually, you can. There's little trick that you can do:

set up path to Launch Image in Info.plist file to something like ../Documents/Splash.png

So, at first launch there will be no splash. After that just copy Any file of your bundle in application Documents directory as Splash.png And in next launch your Splash will change.

Upvotes: 9

Jesse Naugher
Jesse Naugher

Reputation: 9810

perhaps an idea would be for your default to be a blank "view" along with the tab bar controller at the bottom. This goes along the lines of Apples HIG.

Upvotes: 4

Guillaume
Guillaume

Reputation: 21736

No.

The image Default.png is part of the bundle of your app, and you can only read this folder, you can't modify it. There is no API to specify a different launch image.

Upvotes: 12

Related Questions