A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which, when executed by an electronic device with a touch-sensitive display and one or more sensors to detect a stylus associated with the electronic device, cause the electronic device to:
- display a first user interface of a first application, wherein the first application is a respective application of a plurality of applications, and wherein the first user interface includes first application content;
- while displaying the first user interface of the first application, detect a first input on the touch-sensitive display;
- in response to detecting the first input:
- conditionally display an annotation user interface or a notification user interface based on whether the first input is performed using the stylus or a finger, including:
- in accordance with a determination that the first input, that was detected while displaying the first user interface of the first application, is an edge gesture that begins at or near an edge of the touch-sensitive display and is performed using the stylus:
- display the annotation user interface while continuing to display the first application content and without displaying the notification user interface;
- while displaying the annotation user interface concurrently with the first application content, detect a set of one or more additional inputs;
- and
- in response to detecting the set of one or more additional inputs, add annotations to the annotation user interface;
- and
- in accordance with a determination that the first input, that was detected while displaying the first user interface of the first application, is an edge gesture that begins at or near the edge of the touch-sensitive display and is performed using the finger, forgo displaying the annotation user interface, and display the notification user interface, wherein the notification user interface includes notifications of communications received by the electronic device.