Instance Property

identifier

The string that you use internally to identify the action.

Declaration

var identifier: String? { get set }

Discussion

The system passes this string to the application(_:handleActionWithIdentifier:for:completionHandler:) or application(_:handleActionWithIdentifier:forRemoteNotification:completionHandler:) method of the app delegate when the user chooses the action.

See Also

Getting the Action Information

var title: String?

The localized string to use as the button title for the action.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software