iPhone Duo SwiftUI examples
Explore SwiftUI APIs, components, and modifiers on iPhone Duo. Compare portrait and landscape layouts in closed, partially open, and fully open states, with Swift code and Apple documentation.
16elements
Navigation
NavigationSplitView
Creates a two-column navigation split view.
Explore NavigationSplitView on iPhone Duo in portrait and landscape across closed, partially open, and fully open states, with SwiftUI code and Apple API documentation.
SwiftUI code
NavigationSplitView {
Color.blue
} detail: {
Color.orange
}Compatibility
iOS 16.0+ iPadOS 16.0+ macOS 13.0+ watchOS 9.0+ tvOS 16.0+ visionOS 1.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone Duo screenshot for NavigationSplitView.