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 an input device, cause the electronic device to:
- display, on the display, a media capture user interface of a camera application that allows a user to capture one or more images, wherein the media capture user interface of the camera application concurrently includes:
- a media capture preview including an image of objects in a field of view of the camera that changes as the objects in the field of view of the camera change;
- and
- a media capture affordance that, when activated, stores, in the non- transitory memory, one or more images corresponding to the field of view of the camera;
- and
- while displaying the media capture user interface of the camera application:
- scan the field of view of the camera for data encoded in an optical machine-readable format;
- in accordance with a determination that the field of view of the camera includes data encoded in the optical machine-readable format that meets respective notification criteria:
- display a notification that indicates that the camera application has detected data encoded in the optical machine-readable format, wherein the notification covers at least a portion of the media capture user interface;
- detect a user input at a location corresponding to the notification;
- and
- in response to detecting the user input at the location corresponding to the notification and in accordance with a determination that the user input is of a first type that corresponds to a request to remove the notification, cease display of the notification and display the portion of the media capture user interface that was covered by the notification;
- and
- in accordance with a determination that the field of view of the camera does not include data encoded in the optical machine-readable format that meets the respective notification criteria, maintaining display of the media capture user interface of the camera application without displaying the notification.