Instance Method

navigationBarHidden(_:)

Hides the navigation bar for the view.

Declaration

func navigationBarHidden(_ hidden: Bool) -> some View

Parameters

hidden

A Boolean value that indicates whether to hide the navigation bar.

Discussion

This modifier only takes effect when this view is inside of and visible within a NavigationView.