Instance Property

title

The title of the alert.

Declaration

@property(nonatomic, copy) NSString *title;

Discussion

The title string is displayed prominently in the alert or action sheet. You should use this string to get the user’s attention and communicate the reason for displaying the alert.

See Also

Configuring the Alert

message

Descriptive text that provides more details about the reason for the alert.

preferredStyle

The style of the alert controller.