Contents

pointerInteraction(_:willExit:animator:)

Informs the delegate when the pointer exits a given region.

Declaration

optional func pointerInteraction(_ interaction: UIPointerInteraction, willExit region: UIPointerRegion, animator: any UIPointerInteractionAnimating)

Parameters

  • interaction:

    This Uipointerinteraction.

  • region:

    The Uipointerregion that represents the entire surface of the interaction’s view.

  • animator:

    The animator the framework runs when the pointer exists the region. Add animations to run them alongside the pointer’s exit animation.

See Also

Handling animations for pointer regions