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

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

For example, is it possible to replace it with another image that is better suited? My application has a tab bar, and each tab has a completely different screen, and I want to restore this specific tab after a hard launch from scratch when the application terminated in the background.

+6
iphone
source share
3 answers

Not.

The Default.png image is included with your application, and you can only read this folder, you cannot change it. The API cannot specify a different startup image.

+12
source share

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

configure the path to launch the image in the Info.plist file to something like ../Documents/Splash.png

So, at the first start there will be no bursts. After that, just copy any file of your package into the "Application Documents" folder as Splash.png And the next time your Splash changes.

+9
source share

perhaps the idea would be that your default was an empty “view” along with the tab bar controller below. It goes along the Apple HIG line.

+4
source share

All Articles