CPC G06F 3/0488 (2013.01) [G06F 3/04842 (2013.01); G06F 3/04845 (2013.01); G06F 3/0486 (2013.01)] | 39 Claims |
1. A method, comprising:
at an electronic device with a display and a touch-sensitive surface:
displaying, on the display, a user interface of an application;
while displaying the user interface of the application, detecting a user input that corresponds to a respective user interface element in a portion of the user interface of the application that is associated with a plurality of gesture recognizers, wherein:
a first set of one or more standard gesture recognizers of the plurality of gesture recognizers are associated with the portion of the user interface by the application, the first set of one or more standard gesture recognizers including a first standard gesture recognizer;
a second set of one or more supplemental gesture recognizers in the plurality of gesture recognizers are associated with the portion of the user interface by a system process, the second set of one or more supplemental gesture recognizers including a first supplemental gesture recognizer; and
a first failure requirement involving the first standard gesture recognizer and the first supplemental gesture recognizer is associated with the portion of the user interface by the system process; and
in response to detecting the user input, processing the user input in accordance with the first standard gesture recognizer, the first supplemental gesture recognizer, and the first failure requirement, including:
in accordance with a determination that content associated with the respective user interface element cannot be added to a drag operation, failing to recognize the user input using the first supplemental gesture recognizer, and processing the user input using the first standard gesture recognizer; and
in accordance with a determination that the content associated with the respective user interface element can be added to the drag operation, recognizing a gesture using the first supplemental gesture recognizer and adding the content to the drag operation.
|