January 2012
Beginner
655 pages
16h 35m
English
In this chapter, you have seen how background execution works and how you can utilize it to make your applications more useful. You have also seen the other types of notifications that you can utilize in your applications — scheduling local notifications though the operating system, and using the NSNotification class for notifying objects within your application.
Combining all the different concepts discussed in this chapter will enable you to write compelling iOS applications.
EXERCISES
Answers to the exercises can be found in Appendix D.
WHAT YOU LEARNED IN THIS CHAPTER
| TOPIC | KEY CONCEPTS |
| Opting out of background execution | Use the UIApplicationExitsOnSuspend key. |
| Tracking locations in the background | Use the UIBackgroundModes key. |
| Monitoring significant location changes | Use the startMonitoringSignificantLocationChanges method. |
| Creating local notifications | Use the UILocalNotification class. |
| Scheduling a local notification | [[UIApplication sharedApplication] scheduleLocalNotification:localNotification]; |
| Presenting ... |