Instance Property


The conditions that trigger the delivery of the notification.


@NSCopying var trigger: UNNotificationTrigger? { get }


For notifications that have already been delivered, use this property to determine what caused the delivery to occur. For remote notifications, this property contains a UNPushNotificationTrigger object. For other notifications, the type is based on the trigger condition specified in the original request.

See Also

Getting the Request Details

var identifier: String

The unique identifier for this notification request.

var content: UNNotificationContent

The content associated with the notification.