Class

UNNotification

Contains the data for a delivered notification.

Overview

A UNNotification object represents a local or remote notification that has been delivered to your app. A notification object consists of the initial notification request and the date on which the notification was delivered. The notification request includes the content of the notification and the trigger condition that caused it to be delivered.

You do not create instances of this class directly. Instead, the UNUserNotificationCenter object maintains the list of notification objects whose contents have been delivered to the user. Use the getDeliveredNotifications(completionHandler:) method to retrieve those notification objects.

Symbols

Getting the Notification Details

var request: UNNotificationRequest

The originating notification request.

var date: Date

The delivery date of the notification.

Relationships

Inherits From