Instance Property

showsCancelButton

A Boolean that determines whether to display a Cancel button.

Declaration

@property(nonatomic) BOOL showsCancelButton;

Discussion

Use YES to show a Cancel button; otherwise, NO.

See Also

Changing the Appearance

showsDoneButton

A Boolean that determines whether to display a Done button.