Instance Property

alertBody

The text to use for the alert message.

Declaration

@property(nonatomic, copy) NSString *alertBody;

Discussion

Use of this property is optional. If you set its value, the corresponding push notification causes the device to display an alert with the specified message. If you want to use a localized string for the alert message, specify a value for the alertLocalizationKey property instead.

See Also

Accessing the Notification Info

alertLocalizationKey

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

alertLocalizationArgs

The array of fields to use when building an alert message.

alertActionLocalizationKey

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

alertLaunchImage

The filename of an image to use as a launch image.

category

Name of the action group corresponding to this notification.

soundName

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

shouldBadge

A Boolean setting that controls whether a badge value should be incremented.

shouldSendContentAvailable

A Boolean value indicating whether the push notification should include the content-available flag.