Instance Property

childForScreenEdgesDeferringSystemGestures

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

Declaration

var childForScreenEdgesDeferringSystemGestures: UIViewController? { get }

Discussion

When implementing a container view controller, override this method if one of your child view controllers defines screen-edge gestures that should take precedence over the system gestures. UIKit then uses the preferredScreenEdgesDeferringSystemGestures property of the returned child view controller to determine which screen edges have competing gesture recognizers.

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

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.

var childForHomeIndicatorAutoHidden: UIViewController?

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.