Loading Screen

Discussion in 'iOS Programming' started by ljg93, Aug 24, 2011.

  1. ljg93 macrumors member

    Mar 13, 2011
    hello I am trying to get a animated loading screen on my app (not a actual loading screen) but a view to play a video and then go straight into my app. I know I can not have a animated Default.png so I am wondering what is the best way to have a video play at the beginning of my app.
  2. nickculbertson macrumors regular


    Nov 19, 2010
    Nashville, TN
    Put your video code in your viewDidLoad method.
  3. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    What I did, to keep code a bit seperate, create an "AnimatedViewController", or whatever.
    There in the viewDidload, do some fancy animations, alpha from 0 to 1.0 in animation, moving around a bit, blah.
    Or just load up a gif (broken into seperate .png's).
    Then after for eg. 5 seconds, dismiss the modalviewcontroller or push a new viewcontroller and set the "BackButton" to nil on newly pushed view.
    Or on the "homescreen", pop up the modalviewcontroller.
  4. ljg93 thread starter macrumors member

    Mar 13, 2011
    cool. thanks!

Share This Page