Configures the title of this view's navigation bar with a localized string.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
- Xcode 11.0+
Framework
- Swift
UI
Declaration
func navigationBarTitle(_ titleKey: Localized String Key) -> some View
Configures the title of this view's navigation bar with a localized string.
SDKs
Framework
func navigationBarTitle(_ titleKey: Localized String Key) -> some View
func navigation Bar Title(Text) -> View
Configures the title in the navigation bar for the view.
func navigation Bar Title(Text, display Mode: Navigation Bar Item .Title Display Mode) -> View
Configures the title of the navigation bar for the view.
func navigation Bar Title<S>(S) -> View
Configures the title of this view’s navigation bar with a string.
func navigation Bar Title(Localized String Key, display Mode: Navigation Bar Item .Title Display Mode) -> View
Configures the title of this view's navigation bar with a localized string and a display mode.
func navigation Bar Hidden(Bool) -> View
Hides the navigation bar for the view.
func status Bar(hidden: Bool) -> View
Sets the visibility of the status bar for the view.