Contents

preferredUserInterfaceStyle

The preferred interface style for this view controller.

Declaration

var preferredUserInterfaceStyle: UIUserInterfaceStyle { get }

Discussion

Use this property to apply a specific appearance in your tvOS app. The default value of this property is UIUserInterfaceStyle.unspecified, which causes your view controller to follow the system’s current style. You can override this property to force the view controller to adopt a specific style.

See Also

Adjusting the interface style