10. Notifications
Notifications are Apple’s method of keeping the user informed of important iOS app-related events when the user is not actively using an app. Because only one iOS app can be active and in the foreground at a time, notifications provide a mechanism to have inactive apps receive important and time-sensitive information and notify the user. This chapter guides you through how to set up your app to receive local and remote push notifications, and how to customize what happens when the user receives a notification with an app badge, a sound, and a message.
Differences Between Local and Push Notifications
Two types of notifications are supported by iOS: local notifications and remote, or push, notifications. Local notifications do ...
Get Mastering iOS Frameworks: Beyond the Basics, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.