Global Variable

UNNotificationDefaultActionIdentifier

An action that indicates the user opened the app from the notification interface.

Declaration

let UNNotificationDefaultActionIdentifier: String

Discussion

The delivery of this action does not require any special configuration of notification categories. Use the userNotificationCenter(_:didReceive:withCompletionHandler:) method of your delegate object to receive this action.

See Also

Getting the Response Information

var actionIdentifier: String

The identifier string of the action that the user selected.

var notification: UNNotification

The notification to which the user responded.

let UNNotificationDismissActionIdentifier: String

The action that indicates the user explicitly dismissed the notification interface.