Instance Property

childViewControllerForUserInterfaceStyle

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

Declaration

@property(nonatomic, readonly) UIViewController *childViewControllerForUserInterfaceStyle;

Discussion

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

overrideUserInterfaceStyle

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

preferredUserInterfaceStyle

The preferred interface style for this view controller.

- setNeedsUserInterfaceAppearanceUpdate

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

UIUserInterfaceStyle

Constants indicating the interface style for the app.