One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

SplitArrangementViewStyle

struct · iOS 27.1+ · SDK 27.1

nonisolated struct SplitArrangementViewStyle

An arrangement view style that places the primary and secondary views side by side along one or more axes. The split arrangement adapts its layout axis based on the available size and size class. Use this style for experiences that display two distinct pieces of content simultaneously, such as a music player alongside its lyrics or a calculator with a conversion panel. Constrain which axes the split supports using ``SplitArrangementViewStyle/axes(_:)``.

Members (2)

method · iOS 27.1+

axes

TypeScript
axes(axes: Axis_Set): SplitArrangementViewStyle
Swift declaration
nonisolated func axes(_ axes: Axis.Set) -> SplitArrangementViewStyle

Creates a split arrangement that supports the given axes. For example, you could make a split arrangement which will only split its views into a vertical split layout using the `vertical` axis. ArrangementView { PrimaryContent() } secondary: { SecondaryContent() } .arrangementViewStyle(.split.axes(.vertical)) - Parameter axes: The supported axes the view can split to.

init · iOS 27.1+

init

TypeScript
static init(): SplitArrangementViewStyle
Swift declaration
nonisolated init()

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SplitArrangementViewStyle.makeBody(configuration:)

This protocol needs associated types that cannot yet cross the bridge.

All SwiftUICore types →