Tells the control to cancel tracking related to the given event.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
An event object related to touches that occurred in the control. This parameter might be
nil, indicating that the cancelation was caused by something other than an event, such as the view being removed from the window.
The control calls this method when a control-related touch event is cancelled. The default implementation cancels any ongoing tracking and updates the control’s state information. Subclasses can override this method and use it to perform any actions relevant to the cancellation of the touch sequence. You should also use it to perform any cleanup associated with tracking the event.
If you override this method, you must call
super at some point in your implementation.