Content NavigationSplitView
Creates a three-column navigation split view.
Platform Compatibility
Tags
SwiftUI Code
NavigationSplitView {
Color.blue
} content: {
Color.indigo
} detail: {
Color.orange
}Creates a three-column navigation split view.
NavigationSplitView {
Color.blue
} content: {
Color.indigo
} 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 style for a product view that uses a standard, platform-appropriate layout.
Creates an instance that selects multiple dates on or after some start date
A picker style that presents options as segmented tabs. On macOS, this style produces a segmented picker with a visual treatment that distinguishes tab navigation from value selection. On iOS, tvOS, and visionOS, the visual appearance matches that of the standard standard .segmented style. On all supported platforms, VoiceOver announces options as tabs.