Contents

pointerInteraction(_:willEnter:animator:)

Informs the delegate when the pointer enters a given region.

Declaration

optional func pointerInteraction(_ interaction: UIPointerInteraction, willEnter 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 enters the region. Add animations to run them alongside the pointer’s entrance animation.

See Also

Handling animations for pointer regions