Instance Method

prefersHomeIndicatorAutoHidden()

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

Declaration

func prefersHomeIndicatorAutoHidden() -> Bool

Return Value

true if your view controller lets the system determine when to hide the indicator, or false if you want the indicator shown 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.

See Also

Configuring Gestures

func childViewControllerForHomeIndicatorAutoHidden()

Returns the child view controller that is consulted about its preference for displaying a 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.