---
title: titleVisibility
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uititlebar/titlevisibility
---

# titleVisibility

A value that indicates the visibility of the title.

## Declaration

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

## Mentioned in

Removing the title bar in your Mac app built with Mac Catalyst

## Discussion

Discussion Setting the title visibility to 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 to UITitlebarTitleVisibility.hidden and toolbar to nil. This property defaults to UITitlebarTitleVisibility.visible.

## See Also

### Configuring the title bar

- [separatorStyle](uikit/uititlebar/separatorstyle.md)
- [UITitlebarSeparatorStyle](uikit/uititlebarseparatorstyle.md)
- [UITitlebarTitleVisibility](uikit/uititlebartitlevisibility.md)
- [representedURL](uikit/uititlebar/representedurl.md)
