June 2011
Intermediate to advanced
590 pages
19h 31m
English
MPMoviePlayerController is responsible for playing movies on iOS. The YouTube application uses the same class to play its movies, so you’ve probably seen the interface in Figure 27.4 before.
Figure 27.4 MPMoviePlayerController in action

Playing a movie file on iOS is fairly restricted. You are limited to two formats:
(Fortunately, iTunes has an option to convert video files into these formats. In iTunes, select a movie file and choose Create iPod or iPhone Version from the Advanced menu.)
Instances of MPMoviePlayerController can also play streaming video ...
Read now
Unlock full access