Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ljg93

macrumors member
Original poster
Mar 13, 2011
98
0
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.
 
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.
 
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.

cool. thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.