<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITitlebar/titleVisibility",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITitlebar(py)titleVisibility"
  },
  "title" : "titleVisibility"
}
-->

# titleVisibility

A value that indicates the visibility of the title.

```
var titleVisibility: UITitlebarTitleVisibility { get set }
```

## Discussion

Setting the title visibility to [`UITitlebarTitleVisibility.hidden`](/documentation/UIKit/UITitlebarTitleVisibility/hidden) hides only the title displayed in the title bar, not the title bar itself. To remove the title bar from the window, set [`titleVisibility`](/documentation/UIKit/UITitlebar/titleVisibility) to [`UITitlebarTitleVisibility.hidden`](/documentation/UIKit/UITitlebarTitleVisibility/hidden) and [`toolbar`](/documentation/UIKit/UITitlebar/toolbar) to `nil`.

This property defaults to [`UITitlebarTitleVisibility.visible`](/documentation/UIKit/UITitlebarTitleVisibility/visible).

---

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)