NavigationSplitViewVisibility
The visibility of the leading columns in a navigation split view.
Declaration
struct NavigationSplitViewVisibilityOverview
Use a value of this type to control the visibility of the columns of a NavigationSplitView. Create a State property with a value of this type, and pass a Binding to that state to the init(columnVisibility:sidebar:detail:) or init(columnVisibility:sidebar:content:detail:) initializer when you create the navigation split view. You can then modify the value elsewhere in your code to:
Hide all but the trailing column with detailOnly.
Hide the leading column of a three-column navigation split view with doubleColumn.
Show all the columns with all.
Rely on the automatic behavior for the current context with automatic.