Instance Property

notificationActions

The actions associated with the current notification.

Declaration

var notificationActions: [UNNotificationAction] { get set }

Discussion

Use this array to dynamically update the list of actions associated with a notification. You can only change this property during the didReceive(_:) method.

See Also

Working with Actions

func performNotificationDefaultAction()

Launches the watchOS app and performs the current notification’s default action.

func performDismissAction()

Dismisses the notification interface controller.

func dismiss()

Dismisses the notification interface controller.

Deprecated