Instance Method

buttonTitleAtIndex:

Returns the title of the button at the given index.

Declaration

- (NSString *)buttonTitleAtIndex:(NSInteger)buttonIndex;

Parameters

buttonIndex

The index of the button. The button indices start at 0.

Return Value

The title of the button specified by index buttonIndex.

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
- textFieldAtIndex:

Returns the text field at the given index

Deprecated
cancelButtonIndex

The index number of the cancel button.

Deprecated
firstOtherButtonIndex

The index of the first other button.

Deprecated