primaryBackgroundStyle
The background style of the primary view controller.
Declaration
var primaryBackgroundStyle: UISplitViewController.BackgroundStyle { get set }Mentioned in
Discussion
In macOS, the sidebar of a split view has Liquid Glass behind its view. To achieve this effect in your iPad app when it runs in macOS, set primaryBackgroundStyle to UISplitViewController.BackgroundStyle.sidebar. Set the style to UISplitViewController.BackgroundStyle.none when you want to control the background appearance of the primary view controller.