init(identifier:title:type:)
Initializes a notification action with the given identifier, title, and type.
Declaration
init(identifier: String, title: String? = nil, type: AccessoryNotification.Action.ActionType)Parameters
- identifier:
A unique identifier for the action.
- title:
The action’s display title.
- type:
The action’s type.