<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UINavigationItem/hidesBackButton",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UINavigationItem(py)hidesBackButton"
  },
  "title" : "hidesBackButton"
}
-->

# hidesBackButton

A Boolean value that determines whether the navigation item hides the Back button.

```
var hidesBackButton: Bool { get set }
```

## Discussion

When set to <doc://com.apple.documentation/documentation/Swift/true>, the Back button is hidden when this navigation item is the top item. This is true regardless of the value in the [`leftItemsSupplementBackButton`](/documentation/UIKit/UINavigationItem/leftItemsSupplementBackButton) property. When set to <doc://com.apple.documentation/documentation/Swift/false>, the Back button is shown if it’s still present. (It can be replaced by values in either the [`leftBarButtonItem`](/documentation/UIKit/UINavigationItem/leftBarButtonItem) or [`leftBarButtonItems`](/documentation/UIKit/UINavigationItem/leftBarButtonItems) properties.) The default value is <doc://com.apple.documentation/documentation/Swift/false>.

## See Also

[`var backItem: UINavigationItem?`](/documentation/UIKit/UINavigationBar/backItem)

The navigation item that is immediately below the topmost item on a navigation bar’s stack.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)