<!--
{
  "availability" : [
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/navigationTitle(_:)-6jofs",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE15navigationTitleyQrqd__yXEAaBRd__lF"
  },
  "title" : "navigationTitle(_:)"
}
-->

# navigationTitle(_:)

Configures the view’s title for purposes of navigation,
using a custom view.

```
nonisolated func navigationTitle<V>(@ContentBuilder _ title: () -> V) -> some View where V : View
```

## Parameters

`title`

The view to display.

## Discussion

A view’s navigation title is used to visually display
the current navigation state of an interface.
On iOS and watchOS, when a view is navigated to inside
of a navigation view, that view’s title is displayed
in the navigation bar. On iPadOS, the primary destination’s
navigation title is reflected as the window’s title in the
App Switcher. Similarly on macOS, the primary destination’s title
is used as the window title in the titlebar, Windows menu
and Mission Control.

---

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)