• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: iOS splash screen animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: iOS splash screen animation


  • Subject: RE: iOS splash screen animation
  • From: Julius Oklamcak <email@hidden>
  • Date: Wed, 10 Apr 2013 10:27:55 -0400

> 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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >iOS splash screen animation (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: Understanding NSTask
  • Next by Date: Re: iOS splash screen animation
  • Previous by thread: iOS splash screen animation
  • Next by thread: Re: iOS splash screen animation
  • Index(es):
    • Date
    • Thread