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
ArrangementView
Split Arrangement Layout Ratio
Sets the preferred size ratio for an arrangement view in a split style. Use this modifier when you want to customize the size of the view compared to its other views in the split layout.
Explore Split Arrangement Layout Ratio on iPhone Duo in portrait and landscape across closed, partially open, and fully open states, with SwiftUI code and Apple API documentation.
SwiftUI code
ArrangementView {
Color.blue
} secondary: {
Color.orange
.splitArrangementLayoutRatio(0.24)
}Compatibility
iOS 27.1+ iPadOS 27.1+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone Duo screenshot for Split Arrangement Layout Ratio.