I want to create an animated logo that serves as the splash screen for my iphone/ipad app.
I’m thinking of showing the default.png, which then transitions to an .mp4 (where the first frame of the .mp4 matches the default.png), plays a 3 second movie, fades out, and loads my application.
Does anyone have any experience with this? And is my idea (using .mp4) the best way to achieve this? Also, is Apple “cool” with this?
Thanks in advance.
Yes you can absolutely do this and yes Apple is cool with it.
You could use MPMoviePlayerController, place it under a UIImageView with the launch image and when the movie is loaded and ready to go remove the UIImageView and play the movie.
But given the sometimes finicky nature of MPMoviePlayerController you need to time things carefully. Here’s a snippet you can use as a starting point: