Instance Property


The actions to display when a notification of this type is presented.


var actions: [UNNotificationAction] { get }


When displaying a notification assigned to this category, the system adds a button to the notification interface for each action in this property. These buttons are displayed after the notification’s content but before the Dismiss button.

When displaying banner notifications, the system displays only the first two actions.

See Also

Getting the Category Information

var identifier: String

The unique string assigned to the category.

var intentIdentifiers: [String]

The intents related to notifications of this category.

var hiddenPreviewsBodyPlaceholder: String

The placeholder text to display when notification previews are disabled for the app.

var categorySummaryFormat: String

A format string for the summary description used when the system groups the category’s notifications.