Instance Property

request

The notification request containing the payload and trigger condition for the notification.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(readonly, copy, nonatomic) UNNotificationRequest *request;
macOS
@property(readonly, copy, atomic) UNNotificationRequest *request;

Discussion

For local notifications, the request object is a copy of the one you originally configured. For remote notifications, the request object is synthesized from information received from Apple Push Notification service.

See Also

Getting the Notification Details

date

The delivery date of the notification.