Patent ID: 8566045

Claim:
A method, comprising: at an electronic device with a touch-sensitive display, the electronic device configured to execute at least a first software application and a second software application, the first software application including a first set of one or more gesture recognizers, the second software application including one or more views and a second set of one or more gesture recognizers, and respective gesture recognizers having corresponding gesture handlers: displaying a first set of one or more views, the first set of one or more views including at least a subset of the one or more views of the second software application; and while displaying the first set of the one or more views: detecting a sequence of touch inputs on the touch-sensitive display, the sequence of touch inputs including a first portion of one or more touch inputs and a second portion of one or more touch inputs subsequent to the first portion; determining whether at least one gesture recognizer in the first set of one or more gesture recognizers recognizes the first portion of one or more touch inputs; in accordance with a determination that at least one gesture recognizer in the first set of one or more gesture recognizers recognizes the first portion of one or more touch inputs: delivering the sequence of touch inputs to the first software application without delivering the sequence of touch inputs to the second software application; determining whether at least one gesture recognizer in the first set of one or more gesture recognizers recognizes the sequence of touch inputs; and in accordance with a determination that at least one gesture recognizer in the first set of one or more gesture recognizers recognizes the sequence of touch inputs, processing the sequence of touch inputs with the at least one gesture recognizer in the first set of one or more gesture recognizers that recognizes the sequence of touch inputs; and in accordance with a determination that no gesture recognizer in the first set of one or more gesture recognizers recognizes the first portion of one or more touch inputs: delivering the sequence of touch inputs to the second software application; determining whether at least one gesture recognizer in the second set of one or more gesture recognizers recognizes the sequence of touch inputs; and in accordance with a determination that at least one gesture recognizer in the second set of one or more gesture recognizers recognizes the sequence of touch inputs, processing the sequence of touch inputs with the at least one gesture recognizer in the second set of one or more gesture recognizers that recognizes the sequence of touch inputs.