Instance Property

alertAction

The title of the action button or slider.

Declaration

@property(nonatomic, copy) NSString *alertAction;

Discussion

Assign a string or, preferably, a localized-string key (using NSLocalizedString) as the value. The alert action is the title of the right button of the alert or the value of the unlock slider, where the value replaces “unlock” in “slide to unlock”. If you specify nil, and alertBody is non-nil, “View” (localized to the preferred language) is used as the default value.

See Also

Composing the Alert

alertBody

The message displayed in the notification alert.

Deprecated
alertTitle

A short description of the reason for the alert.

Deprecated
hasAction

A Boolean value that controls whether the notification shows or hides the alert action.

Deprecated
alertLaunchImage

Identifies the image used as the launch image when the user taps (or slides) the action button (or slider).

Deprecated
category

The name of a group of actions to display in the alert.

Deprecated