UNDERWATER USER INTERFACE
The present disclosure generally relates to underwater user interfaces.
1 . An electronic device configured to communicate with a display device and one or more input devices, the electronic device comprising:
one or more processors; and
memory storing instructions, which when executed by the one or more processors, cause the electronic device to perform a method comprising:
displaying, via the display device, a first user interface;
while displaying the first user interface, receiving, via the one or more input devices, a first user input;
in response to receiving the first user input:
in accordance with a determination that the first user input is received while the electronic device is not underwater, performing a first operation;
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity above a respective intensity threshold, performing a second operation; and
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity below the respective intensity threshold, forgoing performing the second operation.
2 . The electronic device of claim 1 , wherein the first user input comprises a touch input, and the respective intensity threshold is a touch intensity threshold.
3 . The electronic device of claim 1 , wherein performing the first operation comprises displaying a second user interface different from the first user interface.
4 . The electronic device of claim 1 , wherein performing the first operation comprises:
ceasing display of the first user interface; and
displaying the second user interface.
5 . The electronic device of claim 1 , wherein the second operation is different from the first operation.
6 . The electronic device of claim 5 , wherein:
performing the first operation comprises displaying a second user interface different from the first user interface; and
performing the second operation comprises displaying a third user interface different from the first user interface and the second user interface.
7 . The electronic device of claim 1 , wherein:
performing the second operation comprises ceasing display of the first user interface.
8 . The electronic device of claim 7 , wherein the one or more programs further cause the electronic device to perform:
in response to receiving the first user input:
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity below the respective intensity threshold, maintaining display of the first user interface.
9 . The electronic device of claim 1 , wherein displaying the first user interface comprises:
in accordance with a determination that the electronic device is underwater, displaying, within the first user interface, a first indication indicating that the electronic device is underwater; and
in accordance with a determination that the electronic device is not underwater, displaying the first user interface without displaying the first indication.
10 . A non-transitory computer-readable storage medium including instructions, which when executed by one or more processors of an electronic device configured to communicate with a display device and one or more input devices, cause the electronic device to perform a method comprising:
displaying, via the display device, a first user interface;
while displaying the first user interface, receiving, via the one or more input devices, a first user input;
in response to receiving the first user input:
in accordance with a determination that the first user input is received while the electronic device is not underwater, performing a first operation;
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity above a respective intensity threshold, performing a second operation; and
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity below the respective intensity threshold, forgoing performing the second operation.
11 . A method comprising:
at an electronic device configured to communicate with a display device and one or more input devices:
displaying, via the display device, a first user interface;
while displaying the first user interface, receiving, via the one or more input devices, a first user input;
in response to receiving the first user input:
in accordance with a determination that the first user input is received while the electronic device is not underwater, performing a first operation;
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity above a respective intensity threshold, performing a second operation; and
in accordance with a determination that the first user input is received while the electronic device is underwater and that the first user input is an input with an intensity below the respective intensity threshold, forgoing performing the second operation.