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

# isNavigationBarHidden

A Boolean value that indicates whether the navigation bar is hidden.

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

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the navigation bar is hidden. The default value is <doc://com.apple.documentation/documentation/Swift/false>. Setting this property changes the visibility of the navigation bar without animating the changes. If you want to animate the change, use the [`setNavigationBarHidden(_:animated:)`](/documentation/UIKit/UINavigationController/setNavigationBarHidden(_:animated:))method instead.

---

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)