Instance Property

badge

The current badge value.

Declaration

@property(nonatomic, readonly, copy) NSNumber *badge;

Discussion

The value of this property is the integer value displayed in the app’s badge at the time the push notification was sent.

See Also

Accessing the Notification Info

alertBody

The text of the alert message.

alertLocalizationKey

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

alertLocalizationArgs

The array of fields used to build the alert message

alertActionLocalizationKey

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

alertLaunchImage

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

soundName

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

category

Name of the action group corresponding to this notification.

subscriptionID

The identifier of the subscription that caused this notification to fire.