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.

ArrangementView

Only Horizontal Split Arrangement Style

Creates a horizontal split arrangement only in portrait orientation. In landscape orientation, no split is applied.

Explore Only Horizontal Split Arrangement Style on iPhone Duo in portrait and landscape across closed, partially open, and fully open states, with SwiftUI code and Apple API documentation.

ArrangementView {
    Color.blue
} secondary: {
    Color.orange
}
.arrangementViewStyle(.split.axes(.vertical))
iOS 27.1+ iPadOS 27.1+

Every available iPhone Duo screenshot for Only Horizontal Split Arrangement Style.

6 views