O'Reilly logo

Mastering iOS 10 Programming by Donny Wals

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing Notification Extensions

The most exciting new feature in the realm of notifications in iOS 10 is Notification Extensions. Apple has added two extension points to notifications, which enables us to take the notification experience up a notch from custom actions: Service Extensions and Content Extensions. These extensions are both very powerful and relatively simple to implement. We'll have a look at Service Extensions first.

Adding a Service Extension to your app

The Service Extension is intended to act as middleware for push notifications. The Service Extension receives the notification before it's displayed to the user. This allows you to manipulate or enrich the content before it's displayed.

A Service Extension is perfect if you're ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required