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 display and a touch-sensitive surface, cause the electronic device to:
- display a first user interface of a first application on the display;
- while displaying the first user interface of the first application, detect a first input by a first contact on the touch-sensitive surface that meets navigation-gesture criteria, wherein the navigation-gesture criteria require that the first input includes a movement of the first contact across the touch-sensitive surface that crosses a boundary of a predefined edge region of the touch-sensitive surface in order for the navigation-gesture criteria to be met;
- in response to detecting the first input by the first contact that meets the navigation-gesture criteria:
- in accordance with a determination that the first application is not protected, cease to display the first user interface of the first application and displaying a respective other user interface on the display;
- and
- in accordance with a determination that the first application is protected, maintaining display of the first user interface of the first application without displaying the respective other user interface;
- in accordance with a determination that the first application is protected and display of the first user interface of the first application is maintained in response to detecting the first input by the first contact:
- after forgoing displaying the respective other user interface in response to detecting the first input by the first contact, and while maintaining display of the first user interface of the first application, detect a second input by a second contact on the touch-sensitive surface that meets the navigation-gesture criteria;
- and
- in response to detecting the second input by the second contact on the touch-sensitive surface that meets the navigation-gesture criteria:
- in accordance with a determination that the second input is detected within confirmation time threshold of the first input, cease to display the first user interface of the first application and displaying the respective other user interface on the display.