摘要 |
A device detects a sequence of sub-events as part of a touch event associated with a view, determines that the sequence does not correspond to one or more predefined sequences of sub-events for the view associated with the touch event, and, in accordance with a determination that the sequence does not correspond to the one or more predefined sequences, sends a touch cancel event to the view associated with the touch event. Also disclosed is a device configured to detect a sequence of sub-events as part of a touch event associated with a view, determine that the sequence does not correspond to one or more predefined sequences of sub-events for the view associated with the touch event, and, in accordance with a determination that the sequence does not correspond to the one or more predefined sequences, cancel the touch event. |