<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewController/childForStatusBarHidden",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIViewController(py)childViewControllerForStatusBarHidden"
  },
  "title" : "childForStatusBarHidden"
}
-->

# childForStatusBarHidden

The view controller to use for determining the hidden state of the status bar.

```
var childForStatusBarHidden: UIViewController? { get }
```

## Discussion

If your container view controller derives the hidden state of the status bar from one of its child view controllers, implement this property to specify which child view controller you want to control the hidden/unhidden state. If you return `nil` or don’t override this property, the status bar hidden/unhidden state for `self` is used.

Call [`setNeedsStatusBarAppearanceUpdate()`](/documentation/UIKit/UIViewController/setNeedsStatusBarAppearanceUpdate()) if the child view controller for determining the hidden state of the status bar changes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)