UISplitViewController.SplitBehavior
Constants that describe the possible ways that the child view controllers appear in relation to each other.
Declaration
enum SplitBehaviorOverview
A split view controller’s split behavior controls how its secondary view controller appears in relation to the others. You can configure this behavior so that the secondary view controller always appears side-by-side with the others, so that it’s partially obscured by the others, or so that it’s displaced offscreen opposite the others to make space for them.
A split view controller’s split behavior affects its possible display mode (displayMode). For more information, see UISplitViewController.DisplayMode.
Split Behavior | Possible Display Modes |
|---|---|
Tile | Secondaryonly [Image] Onebesidesecondary [Image] Twobesidesecondary |
Overlay | Secondaryonly [Image] Oneoversecondary [Image] Twooversecondary |
Displace | Secondaryonly [Image] Onebesidesecondary [Image] Twodisplacesecondary |
[Image]
Topics
Constants
UISplitViewController.SplitBehavior.automaticUISplitViewController.SplitBehavior.tileUISplitViewController.SplitBehavior.overlayUISplitViewController.SplitBehavior.displace