---
title: hidesBackButton
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uinavigationitem/hidesbackbutton
---

# hidesBackButton

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

## Declaration

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

## Discussion

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 leftItemsSupplementBackButton property. When set to false, the Back button is shown if it’s still present. (It can be replaced by values in either the leftBarButtonItem or leftBarButtonItems properties.) The default value is false.

## See Also

### Related Documentation

- [backItem](uikit/uinavigationbar/backitem.md)

### Configuring the Back button

- [backBarButtonItem](uikit/uinavigationitem/backbarbuttonitem.md)
- [backButtonTitle](uikit/uinavigationitem/backbuttontitle.md)
- [backButtonDisplayMode](uikit/uinavigationitem/backbuttondisplaymode-swift.property.md)
- [UINavigationItem.BackButtonDisplayMode](uikit/uinavigationitem/backbuttondisplaymode-swift.enum.md)
- [setHidesBackButton(_:animated:)](uikit/uinavigationitem/sethidesbackbutton(_:animated:).md)
- [backAction](uikit/uinavigationitem/backaction.md)
