Contents

alertActionLocalizationKey

The key that identifies the localized string for the notification’s action.

Declaration

var alertActionLocalizationKey: String? { get }

Discussion

The system uses this property’s value to find the matching string in your app’s Localizable.strings file. It uses the string as the text of the button that opens your app, which the notification alert displays.

If this property’s value is nil, the system displays a single button to dismiss the alert.

See Also

Accessing the Notification Info