actions
The actions to display when the system delivers notifications of this type.
Declaration
var actions: [UNNotificationAction] { get }Discussion
When displaying a notification assigned to this category, the system adds a button to the notification interface for each action in this property. The system displays these buttons after the notification’s content but before the Dismiss button.
When displaying banner notifications, the system displays only the first two actions.