19.2 · Notification Service and Notification Content extensions

A remote notification can be changed on the device before the user sees it, and its expanded view can be your own UI. Both happen in extensions with very small budgets.

Mental model. The service extension gets a mutable copy and a short deadline. Always call the handler, always with something deliverable.

Changing and showing a notification

Service and content extensions.

  1. How do Notification Service and Notification Content extensions work: mutable content, the deadline, attachments, decryption, and what goes wrong? 19.2.1 · L5
    A Notification Service Extension (UNNotificationServiceExtension, the com.apple.usernotifications.service point) lets your app modify a remote notification…

More in Extensions, widgets & intents