Only Horizontal Split Arrangement Style
Creates a horizontal split arrangement only in portrait orientation. In landscape orientation, no split is applied.
Platform Compatibility
Tags
SwiftUI Code
ArrangementView {
Color.blue
} secondary: {
Color.orange
}
.arrangementViewStyle(.split.axes(.vertical))Found an issue or have a suggestion?
More ArrangementView Components
View allOverlay Arrangement Edge
The horizontal edge a view in an overlay arrangement occupies when the arrangement transitions to a horizontal layout. In this case, the primary view overlays the secondary view at the trailing edge when the screen is partially open in landscape.
Overlay Arrangement Style
An arrangement view style that layers the primary view over the secondary view in z-order.
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 Other Components
Browse allAccessoryLinearGaugeStyle
A gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge’s current value
CircularProgressViewStyle
The style of a progress view that uses a circular gauge to indicate the partial completion of an activity