Enumeration

UNNotificationContentExtensionResponseOption

Constants indicating the preferred response to a notification.

Declaration

typedef enum UNNotificationContentExtensionResponseOption : NSUInteger {
    ...
} UNNotificationContentExtensionResponseOption;

Topics

Response Options

UNNotificationContentExtensionResponseOptionDoNotDismiss

Don't dismiss the notification interface.

UNNotificationContentExtensionResponseOptionDismiss

Dismiss the notification interface.

UNNotificationContentExtensionResponseOptionDismissAndForwardAction

Dismiss the notification interface and forward the notification to the app.

See Also

Handling Custom Actions

- didReceiveNotificationResponse:completionHandler:

Handles a notification action selected by the user.