Instance Property

hidesBackButton

A Boolean value that determines whether the back button is hidden.

Declaration

@property(nonatomic, assign) BOOL hidesBackButton;

Discussion

When set to YES, the back button is hidden when this navigation item is the top item. This is true regardless of the value in the leftItemsSupplementBackButton property. When set to NO, the back button is shown if it is still present. (It can be replaced by values in either the leftBarButtonItem or leftBarButtonItems properties.) The default value is NO.

See Also

Getting and Setting Properties

prompt

A single line of text displayed at the top of the navigation bar.

backBarButtonItem

The bar button item to use when a back button is needed on the navigation bar.

- setHidesBackButton:animated:

Sets whether the back button is hidden, optionally animating the transition.

leftItemsSupplementBackButton

A Boolean value indicating whether the left items are displayed in addition to the back button.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software