childViewControllerForUserInterfaceStyle
The child view controller that supports the preferred user interface style.
Declaration
var childViewControllerForUserInterfaceStyle: UIViewController? { get }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.