A Boolean value that determines whether the back button is hidden.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
var hidesBackButton: Bool { get set }
Discussion
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 left
property. When set to false
, the back button is shown if it is still present. (It can be replaced by values in either the left
or left
properties.) The default value is false
.