The text to display in the navigation bar.
Support
Usage
Setting a page title
With large title display mode
On a detail view
Notes
- This modifier must be used within a NavigationStack to have a visible effect.
- The title appears in the navigation bar and is also used as the back button label when a child view is pushed.
See Also
- navigationBarTitleDisplayMode — controls large vs. inline title
- navigationBarBackButtonHidden — hides the back button
- NavigationStack — the navigation container