Instance Property

cancelButtonIndex

The index number of the cancel button.

Declaration

@property(nonatomic) NSInteger cancelButtonIndex;

Discussion

The button indices start at 0. If -1, then the index is not set.

See Also

Configuring Buttons

- addButtonWithTitle:

Adds a button to the receiver with the given title.

Deprecated
numberOfButtons

The number of buttons on the alert view.

Deprecated
- buttonTitleAtIndex:

Returns the title of the button at the given index.

Deprecated
- textFieldAtIndex:

Returns the text field at the given index

Deprecated
firstOtherButtonIndex

The index of the first other button.

Deprecated