Instance Property

childViewControllerForHomeIndicatorAutoHidden

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

Declaration

@property(nonatomic, readonly) UIViewController *childViewControllerForHomeIndicatorAutoHidden;

Return Value

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

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

The screen edges for which you want your gestures to take precedence over the system gestures

childViewControllerForScreenEdgesDeferringSystemGestures

Returns the child view controller that should be queried to see if its gestures should take precedence.

- setNeedsUpdateOfScreenEdgesDeferringSystemGestures

Call this method when you change the screen edges that you use for deferring system gestures.

prefersHomeIndicatorAutoHidden

Returns a Boolean indicating whether the system is allowed to hide the visual indicator for returning to the Home screen.

- setNeedsUpdateOfHomeIndicatorAutoHidden

Notifies UIKit that your view controller updated its preference regarding the visual indicator for returning to the Home screen.