Chapter 16. Notifications
Notifications were first launched in 2009 and have been a staple of the iOS system. Whether you receive a notification from your favorite app or a text message, you will encounter a notification at some point while using a smartphone. Pre-iOS 10, if you had to work with notifications in iOS, you had two types of notifications: remote (from a server) and local.
iOS 10 made changes to notifications that simplified them, but also made them more robust. In iOS 10, there is now one notification that covers both remote and local notifications, which is great for those who worked with them in the past. In terms of breadth of functionality, notifications now allow you to embed rich media (such as images, videos, and audios) as well as having custom UI content.
In this chapter, you are going to learn how to create basic notifications as well as notifications with embedded images. After we look at both of these examples, we will also look at how to create a custom...