Initializer

init(identifier:title:)

Creates a user notification action with a specified identifier and title.

Declaration

convenience init(identifier: String?, title: String?)

Parameters

identifier

The identifier for the action.

title

A localized string suitable for display to the user.