Contents

prefersHomeIndicatorAutoHidden

A Boolean that indicates whether the system is allowed to hide the visual indicator for returning to the Home Screen.

Declaration

var prefersHomeIndicatorAutoHidden: Bool { get }

Return Value

true if your view controller lets the system determine when to hide the indicator, or false if you want the indicator to show at all times. The default implementation of this method returns false.

Discussion

Override this method to signal your preference for displaying the visual indicator. The system takes your preference into account, but returning true is no guarantee that the indicator will be hidden.

For information on allowing app-defined gestures to take precedence over system gestures for certain screen edges, see preferredScreenEdgesDeferringSystemGestures.

See Also

Coordinating with system gestures