Instance Method

buttonTitleAtIndex:

Returns the title of the button at the specified 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 custom button to the action sheet.

Deprecated
numberOfButtons

The number of buttons on the action sheet.

Deprecated
cancelButtonIndex

The index number of the cancel button.

Deprecated
destructiveButtonIndex

The index number of the destructive button.

Deprecated
firstOtherButtonIndex

The index of the first custom button.

Deprecated