Contents

alertActionLocalizationKey

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

Declaration

var alertActionLocalizationKey: String? { get set }

Discussion

Set this property’s value to have the system use a localized string for the text of the notification’s button that opens your app. The system uses the key to find the matching string in your app’s Localizable.string file.

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

For information about localizing string resources, see Internationalization and Localization Guide.

See Also

Accessing the Notification Alert