UISplitViewController.SplitBehavior.overlay
The sidebars are layered on top of the secondary view controller, leaving the secondary view controller partially visible.
Declaration
case overlayDiscussion
This split behavior shows one or both sidebars layered on top of the secondary view controller, partially obscuring it. The secondary view controller is dimmed out, preventing interaction with its view.
The possible display modes for this split behavior are:
If the current display mode is not UISplitViewController.DisplayMode.twoOverSecondary and presentsWithGesture is true, the split view controller presents a special bar button item styled as a back-chevron icon. When a user taps this button, it changes the current display mode from UISplitViewController.DisplayMode.secondaryOnly to UISplitViewController.DisplayMode.oneOverSecondary, and from UISplitViewController.DisplayMode.oneOverSecondary to UISplitViewController.DisplayMode.twoOverSecondary.