---
title: childForHomeIndicatorAutoHidden
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/childforhomeindicatorautohidden
---

# childForHomeIndicatorAutoHidden

Returns the child view controller that is consulted about its preference for displaying a visual indicator for returning to the Home screen.

## Declaration

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

## Mentioned in

Creating a custom container view controller

## Return Value

Return Value The child view controller to consult. The default implementation of this method returns nil.

## Discussion

Discussion When implementing a container view controller, override this method if you want one your child view controllers to determine whether to display the visual indicator. If you do, the system calls the prefersHomeIndicatorAutoHidden method of the returned view controller. If the method returns nil, the system calls the prefersHomeIndicatorAutoHidden method of the current view controller.

## See Also

### Coordinating with system gestures

- [preferredScreenEdgesDeferringSystemGestures](uikit/uiviewcontroller/preferredscreenedgesdeferringsystemgestures.md)
- [childForScreenEdgesDeferringSystemGestures](uikit/uiviewcontroller/childforscreenedgesdeferringsystemgestures.md)
- [setNeedsUpdateOfScreenEdgesDeferringSystemGestures()](uikit/uiviewcontroller/setneedsupdateofscreenedgesdeferringsystemgestures().md)
- [prefersHomeIndicatorAutoHidden](uikit/uiviewcontroller/prefershomeindicatorautohidden.md)
- [setNeedsUpdateOfHomeIndicatorAutoHidden()](uikit/uiviewcontroller/setneedsupdateofhomeindicatorautohidden().md)
