O'Reilly logo

iOS 4 in Action: Developing iPhone and iPad Apps by Shannon Appelcline, Christopher Allen, Brandon Trebitowski, Jocelyn Harrington

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 22. Multitasking in depth

 

This chapter covers
  • Monitoring the location service in the background
  • Building an audio-playing application
  • Enabling background audio playing
  • Handling remote-control events

 

In the previous chapter, you learned the multitasking basics in iOS 4 and how to finish a task in the background with blocks and Grand Central Dispatch. When the application needs to (or for better user experience) continue running in the background, remember that these multitasking features are available on iOS 4:

  • Audio—The application can continue running and play audio to the user while in the background. The user can use the multitasking UI or the lock screen UI to remotely control the audio play, pause, fast-forward, and so ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required