Instance Property

numberOfButtons

The number of buttons on the action sheet.

Declaration

@property(nonatomic, readonly) NSInteger numberOfButtons;

See Also

Configuring Buttons

- addButtonWithTitle:

Adds a custom button to the action sheet.

Deprecated
- buttonTitleAtIndex:

Returns the title of the button at the specified index.

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