Instance Property

childForHomeIndicatorAutoHidden

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

Declaration

var childForHomeIndicatorAutoHidden: UIViewController? { get }

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

var preferredScreenEdgesDeferringSystemGestures: UIRectEdge

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

var childForScreenEdgesDeferringSystemGestures: UIViewController?

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

func setNeedsUpdateOfScreenEdgesDeferringSystemGestures()

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

var prefersHomeIndicatorAutoHidden: Bool

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

func setNeedsUpdateOfHomeIndicatorAutoHidden()

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