SplitViewBuilder

Declares the pages hosted by a native split view controller.
public sealed class SplitViewBuilder

Methods

Behavior

Chooses how visible columns share constrained space.

public SplitViewBuilder Behavior(
  SplitViewBehavior behavior)
ParameterSummary
SplitViewBehavior behaviorThe preferred adaptive presentation.

Returns

Column

Adds or replaces a page in a split view column.

public SplitViewBuilder Column<TView>(
  SplitViewColumn column,
  double? weight = null) where TView : ContentView
ParameterSummary
SplitViewColumn columnThe column to configure.
(optional) double? weightThe column's relative share of the available width. Once any expanded column supplies a weight,
columns without one use a weight of 1.
Type parameterSummary
ContentView TViewThe page type hosted by the column.

Returns

Compact

Adds or replaces the page UIKit uses when the split view is collapsed.

public SplitViewBuilder Compact<TView>() where TView : ContentView
Type parameterSummary
ContentView TView

Returns

Display

Chooses the preferred number of visible columns.

public SplitViewBuilder Display(
  SplitViewDisplay display)
ParameterSummary
SplitViewDisplay displayThe preferred column display.

Returns

Inspector

Adds or replaces the trailing inspector page on iOS 26 and later.

The inspector is omitted when the app runs on an earlier system version.

public SplitViewBuilder Inspector<TView>(
  double? weight = null) where TView : ContentView
ParameterSummary
(optional) double? weight
Type parameterSummary
ContentView TView

Returns

Chooses which column receives ViewModel-first stack navigation and tab reselection behavior.

The default is SplitViewColumn.Secondary. Use primary for canvas-style apps whose main content belongs in the primary column.

public SplitViewBuilder NavigationColumn(
  SplitViewColumn column)
ParameterSummary
SplitViewColumn columnThe column whose navigation stack is considered active.

Returns

Primary

Adds or replaces the primary page.

public SplitViewBuilder Primary<TView>(
  double? weight = null) where TView : ContentView
ParameterSummary
(optional) double? weight
Type parameterSummary
ContentView TView

Returns

PrimaryEdge

Chooses the edge that hosts the primary column.

public SplitViewBuilder PrimaryEdge(
  SplitViewEdge edge)
ParameterSummary
SplitViewEdge edgeThe primary column edge.

Returns

Secondary

Adds or replaces the secondary or detail page.

public SplitViewBuilder Secondary<TView>(
  double? weight = null) where TView : ContentView
ParameterSummary
(optional) double? weight
Type parameterSummary
ContentView TView

Returns

Style

Selects the split view's two- or three-column arrangement.

public SplitViewBuilder Style(
  SplitViewStyle style)
ParameterSummary
SplitViewStyle styleThe arrangement to create.

Returns

Supplementary

Adds or replaces the supplementary page of a triple-column split view.

public SplitViewBuilder Supplementary<TView>(
  double? weight = null) where TView : ContentView
ParameterSummary
(optional) double? weight
Type parameterSummary
ContentView TView

Returns