Loading Screen

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

  1. ljg93 macrumors member

    Joined:
    Mar 13, 2011
    #1
    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

    nickculbertson

    Joined:
    Nov 19, 2010
    Location:
    Nashville, TN
    #2
    Put your video code in your viewDidLoad method.
     
  3. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #3
    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

    Joined:
    Mar 13, 2011
    #4
    cool. thanks!
     

Share This Page