主权项 |
1. A non-transitory computer readable storage medium storing one or more programs for execution by one or more processors of an electronic device, the one or more programs including instructions for:
displaying one or more views of a plurality of views, wherein:
a first view of the one or more displayed views includes a plurality of gesture recognizers;the plurality of gesture recognizers in the first view includes one or more proxy gesture recognizers and one or more non-proxy gesture recognizers;each gesture recognizer indicates one of a plurality of predefined states; anda first proxy gesture recognizer in the first view indicates a state that corresponds to a state of a respective non-proxy gesture recognizer that is not in the first view;detecting a sequence of one or more sub-events;delivering a respective sub-event to the respective non-proxy gesture recognizer that is not in the first view and at least a subset of the one or more non-proxy gesture recognizers in the first view; and processing the respective sub-event in accordance with states of the first proxy gesture recognizer and at least the subset of the one or more non-proxy gesture recognizers in the first view. |