John
John

Reputation: 3

how to change the background of an iphone app when it launches?

Everything is in the title but I have to make myself clear :

I don't mean : how to automatically change the background of the app once it has finished launching.

What I mean is : when you first launch the app, before the first view is loaded by the iphone there is a black screen. Is it possible to change this black screen which I get when waiting for the first view to appear? I'd like to put a picture instead.

Thanks!
John

Upvotes: 0

Views: 1733

Answers (5)

Alex Trott
Alex Trott

Reputation: 4606

You need to set a Default.png and a [email protected] (for retina) and all the work is done for you. Or if you have payed to be a developer, download xcode 4 gm, and you can double click on the loading screen area and you can have it named what ever you wanted.

Upvotes: 2

zrzka
zrzka

Reputation: 21249

You can add Default.png and it's variations to your project. This image will be displayed as splash screen during application startup (before the first view is loaded).

Search for Application Launch Images at ...

http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/BuildTimeConfiguration/BuildTimeConfiguration.html

Upvotes: 1

Knodel
Knodel

Reputation: 4389

Just add a picture called "Default.png" to the project (size of the iPhone screen) and it'll automatically appear.

Upvotes: 1

Related Questions