Contents

touchesCancelled(_:with:)

Sent to the gesture recognizer when a system event (such as an incoming phone call) cancels a touch event.

Declaration

@MainActor @preconcurrency override dynamic func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent)

Parameters

  • touches:

    A set of UITouch instances in the event represented by event that represent the touches in the UITouch.Phase.cancelled phase.

  • event:

    A UIEvent object representing the event to which the touches belong.

See Also

Using the recognizer