Protocol

UNUserNotificationCenterDelegate

Handles notification-related interactions for your app or app extension.

Overview

The UNUserNotificationCenterDelegate protocol defines methods for responding to actionable notifications and receiving notifications while your app is in the foreground. You assign your delegate object to the delegate property of the shared UNUserNotificationCenter object. The user notification center object calls methods of your delegate at appropriate times to deliver information.

For information about the user notification center object, see UNUserNotificationCenter.

Symbols

Handling the Selection of Custom Actions

func userNotificationCenter(UNUserNotificationCenter, didReceive: UNNotificationResponse, withCompletionHandler: () -> Void)

Called to let your app know which action was selected by the user for a given notification.

Constants

UNNotificationPresentationOptions

Constants indicating how to present a notification in a foreground app.

Relationships

Inherits From