---
title: childViewControllerForUserInterfaceStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/childviewcontrollerforuserinterfacestyle
---

# childViewControllerForUserInterfaceStyle

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

## Declaration

```swift
var childViewControllerForUserInterfaceStyle: UIViewController? { get }
```

## Discussion

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](uikit/uiviewcontroller/overrideuserinterfacestyle.md)
- [preferredUserInterfaceStyle](uikit/uiviewcontroller/preferreduserinterfacestyle.md)
- [setNeedsUserInterfaceAppearanceUpdate()](uikit/uiviewcontroller/setneedsuserinterfaceappearanceupdate().md)
- [UIUserInterfaceStyle](uikit/uiuserinterfacestyle.md)
