
To send notifications remotely, you need a server that can send JSON payloads to Apple’s Push Notification Service. There are two ways to send push notifications to a device: remotely or locally. Recommended reading: WWDC 2018 Diary Of An iOS Developer Remote vs Local Notifications In the rest of this article, we’ll go over the rest of the new notification features coming to iOS 12 and how you can implement them in your own app. Notifications are getting a big refresh in iOS 12, and I’ve only scratched the surface. Apple using an in-house algorithm, which presumably tracks often you interact with notifications, will also ask users if they still want to receive notifications from particular apps and encourage you to turn on Deliver Quietly or turn them off completely. In an effort to make users more aware of how they are using apps and allowing more user control of their app usage, there is a new notification setting called “Deliver Quietly.” Users can set your app to Delivery Quietly from the Notification Center, which means they will not receive banners or sound notifications from your app, but they will appear in the Notification Center.

With the release of iOS 12 and XCode 10, the view controller in the content extension now enables user interaction which means notifications will become even more powerful and customizable.Īt WWDC 2018, Apple also announced several changes to notification settings and how they appear on the home screen. In the content extension, developers can use a view controller to structure the UI of their notification, but there was no user interaction enabled within the view controller - until now.


The extension gets triggered when a user long presses or 3D touches on a notification whenever it is delivered to the phone or from the lock/home screen. In 2016, Apple announced a new extension that will allow developers to better customize their push and local notifications called the UNNotificationContentExtension. Learn more about how to implement these features and if they are right for your app. With the launch of iOS 12, there are several new notification features such as new authorization options, dynamic quick actions, and user interaction within notifications.
