Instance Property


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


var hidesBackButton: Bool { get set }


When set to true, 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 false, 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 false.

See Also

Getting and Setting Properties

var prompt: String?

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

var backBarButtonItem: UIBarButtonItem?

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

func setHidesBackButton(Bool, animated: Bool)

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

var leftItemsSupplementBackButton: Bool

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