Chapter 8

Integrate Multithreading and Efficient Memory Usage for Multitasking Apps Performance

In this chapter, you will learn about:

  • What Apple means by multitasking.
  • The multitasking life cycle and how to handle the benefits and costs
  • Different background services, such as
    • Audio
    • VOIP
    • Location
    • Background processing
  • What you should know to make your app multitask well.

In this chapter, you will learn how to take advantage of multitasking in iPhone so that the application can process data in background without the user’s notice. This must be balanced with using as little CPU processing time or memory as possible; otherwise, you may severely impact the battery life or worse—be killed by the iOS.

What is Multitasking in iPhone?

From the user’s ...

Get Pro iOS Apps Performance Optimization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.