主权项 |
1. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device with a display and a touch-sensitive surface, cause the electronic device to:
display, on the display, a user interface associated with an application; detect, on the touch-sensitive surface, a first touch input on the touch-sensitive surface including a first contact on the touch-sensitive surface; in response to detecting the first touch input, generate data representing at least a portion of the first touch input; in accordance with a determination that a hold duration setting is enabled:
determine whether a set of one or more hold duration criteria have been met for the first touch input, wherein the hold duration criteria are based on a hold duration time period that corresponds to the hold duration setting;in accordance with a determination that the set of one or more hold duration criteria have been met for the first touch input, wherein the hold duration criteria include a hold duration criterion that is met when a duration of the first contact exceeds the hold duration time period, provide the data representing at least a portion of the first touch input to the application; and in accordance with a determination that the set of one or more hold duration criteria have not been met, forgo providing the data representing at least a portion of the first touch input to the application. |