Instance Method

setHidesBackButton:animated:

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

Declaration

- (void)setHidesBackButton:(BOOL)hidesBackButton animated:(BOOL)animated;

Parameters

hidesBackButton

Specify YES if the back button should be hidden when this navigation item is the top item. Specify NO if the back button should be visible, assuming it has not been replaced by a custom item.

animated

YES to animate the transition; otherwise, 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.

hidesBackButton

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

leftItemsSupplementBackButton

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