Instance Property


The background style of the primary view controller.


var primaryBackgroundStyle: UISplitViewController.BackgroundStyle { get set }


In macOS, the sidebar of a split view shows a blurred desktop 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.

See Also

Managing the Background Style

enum UISplitViewController.BackgroundStyle

Styles that apply a visual effect to the background of a primary view controller.