<!--
{
  "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/UINavigationItem/title",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UINavigationItem(py)title"
  },
  "title" : "title"
}
-->

# title

The navigation item’s title that displays in the navigation bar.

```
var title: String? { get set }
```

## Discussion

The default value is `nil`.

When the navigation item is on the navigation item stack and is second from the top — in other words, its view controller manages the views that the user would navigate back to — the value in this property is used for the back button on the top-most navigation bar. If the value of this property is `nil`, the system uses the string “Back” as the text of the back button. In iOS 11 and later, the size and position of the title is determined by the [`prefersLargeTitles`](/documentation/UIKit/UINavigationBar/prefersLargeTitles) property of the navigation bar and the [`largeTitleDisplayMode`](/documentation/UIKit/UINavigationItem/largeTitleDisplayMode-swift.property) property of the navigation item.

## See Also

[`init(title:)`](/documentation/UIKit/UINavigationItem/init(title:))

Creates a navigation item with the specified title.

[`titleView`](/documentation/UIKit/UINavigationItem/titleView)

A custom view that displays in the center of the navigation bar when the receiver is the top item.

[`UINavigationItem`](/documentation/UIKit/UINavigationItem)

The items that a navigation bar displays when the associated view controller is 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)