O'Reilly logo

Mastering iOS 11 Programming - Second Edition 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

Adding a Content Extension to your app

The last notifications feature that we'll explore is arguably the most awesome, exciting feature that has been added to notifications in iOS. Content Extensions enable developers to take custom notification actions to a whole new level. We've already seen that 3D-Touching a notification will make custom actions pop up. However, the notification remains the same and possibly doesn't provide as much context as we would like.

Consider receiving an invite for an event. The notification allows you to accept the invite or decline it. Wouldn't it be great if your calendar popped up inside that notification as well, allowing you to actually check your calendar before responding to the invite? This is what Content ...

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