Instance Property


The key that identifies the localized string to use for the alert message.


var alertLocalizationKey: String? { get }


When delivered to your app, the push notification gets the text for the alert by looking up the specified key in your app’s Localizable.strings file. When this property is set, the value in the init(fromRemoteNotificationDictionary:) property is ignored.

See Also

Accessing the Notification Info

var alertBody: String?

The text of the alert message.

var alertLocalizationArgs: [String]?

The array of fields used to build the alert message

var alertActionLocalizationKey: String?

The key that identifies the text to use for the action button in the alert panel.

var alertLaunchImage: String?

The filename of the launch image displayed when your app is launched from the push notification alert.

var soundName: String?

The name of the sound file to play when a notification arrives.

var badge: NSNumber?

The current badge value.

var category: String?

Name of the action group corresponding to this notification.