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.
Platform Compatibility
Tags
SwiftUI Code
ArrangementView {
Color.blue
} secondary: {
Color.orange
.splitArrangementLayoutRatio(0.24)
}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.
Only Horizontal Split Arrangement Style
Creates a horizontal split arrangement only in portrait orientation. In landscape orientation, no split is applied.
Explore Other Components
Browse allCurrent Value Gauge
Creates a gauge showing a value within a range and that describes the gauge’s purpose and current value
Default Adaptable Tab Bar Placement
Specifies the default placement for the tabs in a tab view using the adaptable sidebar style.
LinearCapacityGaugeStyle
A gauge style that displays a bar that fills from leading to trailing edges as the gauge’s current value increases
Disable Sheet Dismiss Swipe
Conditionally prevents interactive dismissal of presentations like popovers, sheets, and inspectors. Dragging the sheet is still possible to a limited extent, as shown in the screenshot, but it will never be dismissed.
Concentric Rectangle
A concentric rectangle whose corner radii are defined from the same circle center as its parent element. The outermost parent is the device frame.
Horizontal Radio Group Layout
Sets the style for radio group style pickers within this view to be horizontally positioned with the radio buttons inside the layout.