27Media Playback and Background Execution
Many applications on a mobile device need audio and video playback. In this chapter, you will learn how to use the most common audio and video playback routines the iOS SDK offers. In addition, we will look at background processes and multitasking.
Figure 27.1 MediaPlayer
Creating the MediaPlayer Application
Create an iPhone Window-based Application in Xcode. Name this project MediaPlayer.
MediaPlayer will have a very simple interface so that you can concentrate on the guts of media playback. The application will display two buttons that will initiate different types of audio playback, and it will also ...