> When my app starts, I'd like to show a splash screen with a logo, > etc, and animate it to the main screen after a short delay. > [snip] > Any suggestions what I could be doing wrong?
Do this in your root view controller's -viewWillAppear: method. You also need to ensure that it only happens once at app launch. What I did was to create the splash screen UIImageView in my root view controller's -viewDidLoad method and assign it to an ivar. Then, in -viewWillAppear: if the ivar is not nil, I start the delay/fade animation and nil out the ivar when it is completed. You also need to set the splash screen's UIImageView userInteractionEnabled property to YES, otherwise any taps on the splash screen will bleed thru to the underlying views. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com