Instance Property


The child view controller that supports the preferred user interface style.


var childViewControllerForUserInterfaceStyle: UIViewController? { get }


The default value of this property is nil. A container view controller can override this property and return the child view controller that supports the currently preferred user interface style, as determined by the preferredUserInterfaceStyle property.

See Also

Adjusting the Interface Style

var overrideUserInterfaceStyle: UIUserInterfaceStyle

The user interface style adopted by the view controller and all of its children.

var preferredUserInterfaceStyle: UIUserInterfaceStyle

The preferred interface style for this view controller.

func setNeedsUserInterfaceAppearanceUpdate()

Notifies the view controller that a change occurred that might affect the preferred interface style.

enum UIUserInterfaceStyle

Constants indicating the interface style for the app.