Instance Property

content

The content associated with the notification.

Declaration

@NSCopying var content: UNNotificationContent { get }

Discussion

Use this property to access the contents of the notification.

See Also

Getting the Request Details

var identifier: String

The unique identifier for this notification request.

var trigger: UNNotificationTrigger?

The conditions that trigger the delivery of the notification.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software