Albert Renshaw
Albert Renshaw

Reputation: 17892

iOS loading screen - Default.png

Right now in Xcode I have in my resources and image called "Default.png" and it is working fine as a loading screen for when the app is first opened (awakeFromNib?) Anyways, It's a funny loading screen and I want to give the users at least 5 seconds to gaze at it, however the app only takes about 2 seconds to load even on my slowest testing device, how can I code it in to last longer?

Upvotes: 0

Views: 2251

Answers (2)

jdog
jdog

Reputation: 10759

Sleep(5); in your app delegates applicationdidifinish

Upvotes: 1

StrAbZ
StrAbZ

Reputation: 589

You can't make this loading screen longer without code.

You're going to need to develop a view controller that you will show to the user during 5 seconds before showing the rest of you're app.

So this should be the first UIViewController you present to the user in you AppDidFininshLaunching method.

Upvotes: 3

Related Questions