Notifications in iOS
Types of notifications We can broadly classify notifications into 2 categories, Local notifications — app configures the notification details locally and passes those details to the system, which then handles the delivery of the notification when the app is not in the foreground. Remote notifications — use one of your company’s servers to push data to user devices via the Apple Push Notification service(APNs). Further in the article, we’ll see how we can get hold of both the notification types. Let’s first start with the introduction to the very new notification framework that we can use to our cause. What’s new in iOS-10 for Notifications? With the release of iOS-10 , Apple introduced 2 new frameworks to handle notifications, User Notifications Framework — manages both local and remote notifications. User Notifications UI Framework — customize the appearance of the system’s notification interface. We’ll be using these 2 frameworks and some platf...