Instance Method

setNeedsUpdateOfScreenEdgesDeferringSystemGestures()

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

Declaration

func setNeedsUpdateOfScreenEdgesDeferringSystemGestures()

Discussion

Calling this method causes UIKit to requst your view controller's preferred edges from the preferredScreenEdgesDeferringSystemGestures property and childForScreenEdgesDeferringSystemGestures method.

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.

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.