Contents

UNUserNotificationCenter

The central object for managing notification-related activities for your app or app extension.

Declaration

class UNUserNotificationCenter

Mentioned in

Overview

Use the shared UNUserNotificationCenter object to manage all notification-related behaviors in your app or app extension. Specifically, use this object to do the following:

To handle incoming notifications and notification-related actions, create an object that adopts the UNUserNotificationCenterDelegate protocol and assign it to the delegate property. Always assign an object to the delegate property before performing any tasks that might interact with that delegate.

You may use the shared user notification center object simultaneously from any of your app’s threads. The object processes requests serially in the order that the system initiates them.

Topics

Managing the notification center

Requesting authorization

Processing received notifications

Scheduling notifications

Removing delivered notifications

Managing notification categories

Handling errors

See Also

Notification management