NavigationSplitView
Creates a two-column navigation split view.
Platform Compatibility
Tags
SwiftUI Code
NavigationSplitView {
Color.blue
} detail: {
Color.orange
}Creates a two-column navigation split view.
NavigationSplitView {
Color.blue
} detail: {
Color.orange
}Sets the preferred alignment of the navigation bar’s title. The navigation bar resolves the alignment of its title automatically based on context, and toolbar roles. Use this modifier to override that resolution.
Controls which column appears on top of the stack when NavigationSplitView collapses into a single stack in certain contexts, such as on iPhone, when iPhone Duo is closed, or on Apple Watch. By default, the sidebar appears on top. In this case, the detail column does instead.
Removes the sidebar toggle toolbar item a NavigationSplitView adds by default.
A progress view that visually indicates its progress using a horizontal bar
This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement.
Specifies the customizations to apply to the sidebar representation of the tab view.