Contents

showsSecondaryOnlyButton

Specifies whether the secondary view controller shows a button to toggle to and from the secondary-only display mode.

Declaration

var showsSecondaryOnlyButton: Bool { get set }

Discussion

This value only takes effect when the split view controller’s style property is UISplitViewController.Style.tripleColumn.

The default value of this property is false. If you set the value to true, the secondary view controller shows a button that lets a user toggle the display mode to and from UISplitViewController.DisplayMode.secondaryOnly.

See Also

Managing the display mode