touchesEnded(_:with:)
Sent to the gesture recognizer when one or more fingers lift from the associated view.
Declaration
@MainActor @preconcurrency override dynamic func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent)Parameters
- touches:
A set of
UITouchinstances in the event represented byeventthat represent the touches in theUITouch.Phase.endedphase. - event:
A
UIEventobject representing the event to which the touches belong.