Instance Property

content

The content associated with the notification.

Declaration

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

Discussion

Use this property to access the contents of the notification.

See Also

Getting the Request Details

identifier

The unique identifier for this notification request.

trigger

The conditions that trigger the delivery of the notification.