User interface for messaging sessions

By intelligently presenting the messaging session based on the number of content items in an electronic device and managing activities separately from the content items, the efficiency of display and interaction of multiple content items on the device is solved, improving user experience and battery life.

CN119299557APending Publication Date: 2025-01-10APPLE INC
View PDF 17 Cites 0 Cited by

Patent Information

Application Number
CN202411238045.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-09-25
Filing Date
2022-06-02
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art is difficult to efficiently display and interact with multiple content items in a messaging session, especially on battery-driven devices, where user interaction time is long and cognitive burden is large, and the integration of messaging activities with content items is inconvenient.

Method used

By implementing intelligent presentation of multiple content items in electronic devices, different representations are adopted according to the number of content items, and message delivery activities are separately added to the message delivery session from the user interface, reducing user input and processor power waste.

Benefits of technology

Improves user experience, reduces user interaction time, extends battery life, and reduces the energy consumption and cognitive burden of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299557A_ABST
    Figure CN119299557A_ABST
Patent Text Reader

Abstract

The invention relates to a user interface for a messaging session. In some embodiments, an electronic device displays a plurality of content items in a messaging session. In some embodiments, the electronic device displays a user interface associated with one or more content items in a messaging session.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese patent application 202280040445.5, with a filing date of June 2, 2022 and an invention name of “User Interface for Messaging Conversations”.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS

[0003] This application claims the benefit of U.S. Provisional Application No. 63 / 197,478 filed on June 6, 2021, U.S. Patent Application No. 17 / 448,878 filed on September 25, 2021, and U.S. Patent Application No. 17 / 485,354 filed on September 25, 2021, the contents of which are incorporated herein by reference in their entirety for all purposes. Technical Field

[0004] The present disclosure generally relates to electronic devices that present messaging user interfaces, and user interaction with such user interfaces. Background Art

[0005] In recent years, the interaction between users and electronic devices has increased significantly. These devices can be devices such as computers, tablet computers, televisions, multimedia devices, mobile devices, etc.

[0006] In some cases, a user wishes to use an electronic device to send and receive messages that include multiple content items (e.g., photos, videos, etc.) The electronic device may present a messaging user interface that facilitates the sending and receiving of such messages. Summary of the invention

[0007] Some embodiments described in this disclosure relate to ways to display multiple content items in a messaging user interface. Some embodiments described in this disclosure relate to ways to add a messaging activity associated with one or more content items included in a messaging session. Enhancing messaging interactions improves the user's experience with the device and reduces user interaction time, which is particularly important when the input device is battery-powered.

[0008] It is understood that the use of personally identifiable information should be subject to privacy policies and practices that are generally recognized to meet or exceed industry or government requirements for maintaining user privacy. Specifically, personally identifiable information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use, and the nature of the authorized use should be clearly stated to users.

[0009] While the drawings and detailed description provide a comprehensive description of the embodiments, it should be understood that the summary provided above does not limit the scope of the present disclosure in any way. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, in which like reference numerals designate corresponding parts throughout the several views.

[0011] Figure 1A is a block diagram showing a portable multifunction device with a touch-sensitive display according to some embodiments.

[0012] Figure 1B is a block diagram illustrating example components for event processing according to some embodiments.

[0013] Figure 2 A portable multifunction device with a touch screen according to some embodiments is shown.

[0014] Figure 3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments.

[0015] Figure 4A An exemplary user interface for an application menu on a portable multifunction device according to some embodiments is shown.

[0016] Figure 4B An exemplary user interface is shown for a multifunction device having a touch-sensitive surface separate from the display according to some embodiments.

[0017] Figure 5A A personal electronic device according to some embodiments is shown.

[0018] Figure 5B is a block diagram illustrating a personal electronic device according to some embodiments.

[0019] FIG. 5C to FIG. 5D Example components of a personal electronic device with a touch-sensitive display and an intensity sensor are shown according to some embodiments.

[0020] FIG. 5E to FIG. 5H Exemplary components and user interfaces of a personal electronic device according to some embodiments are shown.

[0021] FIG. 6A to FIG. 6AJ Various ways in which an electronic device displays multiple content items in a messaging conversation according to some embodiments of the present disclosure are shown.

[0022] Figure 7 is a flowchart illustrating a method of displaying multiple content items in a messaging conversation according to some embodiments.

[0023] Figures 8A to 8AAL Various ways of interacting with multiple content items in a messaging session are shown according to some embodiments of the present disclosure.

[0024] Fig. 9 is a flowchart illustrating a method of interacting with multiple content items in a messaging session according to some embodiments. DETAILED DESCRIPTION

[0025] The following description sets forth exemplary methods, parameters, etc. However, it should be appreciated that such description is not intended to limit the scope of the present disclosure, but is provided as a description of exemplary embodiments.

[0026] An electronic device that provides an efficient way to display and interact with multiple content items in a messaging session is needed. In some implementations, an electronic device receives an indication that a corresponding message including multiple content items has been added to the messaging session. In some implementations, if one or more criteria are met (e.g., if the corresponding message includes more than a corresponding number of content items), the electronic device presents a representation of the multiple content items in a first manner. In some implementations, if one or more criteria are not met (e.g., if the corresponding message does not include more than a corresponding number of content items), the electronic device presents a representation of the content items in a second manner that is different from the first manner. Such techniques can reduce the cognitive burden on a user using such a device when presenting a messaging user interface. In addition, such techniques can reduce processor power and battery power that would otherwise be wasted on redundant user input.

[0027] There is also a need for an electronic device that provides an efficient way to add a messaging activity associated with one or more content items to a messaging session. In some implementations, the messaging activity is added to the corresponding content item in the messaging session from a user interface separate from the messaging user interface. Such techniques can reduce the cognitive burden on a user who wishes to add the messaging activity to the corresponding content item in the messaging session. In addition, such techniques can reduce processor power and battery power that would otherwise be wasted on redundant user input.

[0028] Although the following description uses the terms "first", "second", etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element. For example, a first touch can be named a second touch and similarly a second touch can be named a first touch without departing from the scope of the various described embodiments. Both the first touch and the second touch are touches, but they are not the same touch.

[0029] The terms used in the description of various described embodiments in this article are only for the purpose of describing specific embodiments, and are not intended to be limited. As used in the description of various described embodiments and in the appended claims, the singular forms "one" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more items in the associated listed items. It will also be understood that the terms "including" and / or "comprising" are used in this specification to specify the presence of stated features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or their grouping.

[0030] The term "if" is optionally interpreted to mean "when," "upon," or "in response to determining," or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" are optionally interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]," or "in response to detecting [a stated condition or event]," depending on the context.

[0031] Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described herein. In some embodiments, the device is a portable communication device, such as a mobile phone, that also includes other functions, such as a PDA and / or a music player function. Exemplary embodiments of portable multifunction devices include, but are not limited to, the Apple Watch from Apple Inc. (Cupertino, California). Devices, iPod Equipment, and Device. Other portable electronic devices are optionally used, such as laptop computers or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or touch pads).

[0032] In some embodiments, device 100 is a portable computing system that communicates with a display generation component (e.g., via wireless communication, via wired communication). The display generation component is configured to provide a visual output, such as a display via a CRT display, a display via an LED display, or a display via image projection. In some embodiments, a display generation component (e.g., an integrated display, a touch screen 112, etc.) is integrated with the computer system. In some embodiments, a display generation component (e.g., an external monitor, a projection system, etc.) is separated from the computer system. As used herein, "displaying" content includes transmitting data (e.g., image data or video data) to an integrated or external display generation component via a wired or wireless connection to visually generate content to display content (e.g., video data rendered or decoded by a display controller 156).

[0033] In the following discussion, an electronic device including a display and a touch-sensitive surface is described. However, it should be understood that the electronic device optionally includes one or more other physical user interface devices, such as a physical keyboard, mouse and / or joystick.

[0034] The device typically supports a variety of applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disk editing application, a spreadsheet application, a gaming application, a telephony application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and / or a digital video player application.

[0035] Various applications executed on the device optionally use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the device are optionally adjusted and / or varied for different applications, and / or adjusted and / or varied within the respective applications. In this way, the common physical architecture of the device (such as a touch-sensitive surface) optionally supports a variety of applications with a user interface that is intuitive and clear to the user.

[0036] Attention is now turned to embodiments of portable devices having touch-sensitive displays. Figure 1Ais a block diagram showing a portable multifunction device 100 with a touch-sensitive display system 112 according to some embodiments. The touch-sensitive display 112 is sometimes referred to as a "touch screen" for convenience, and is sometimes referred to as or referred to as a "touch-sensitive display system." The device 100 includes a memory 102 (which optionally includes one or more computer-readable storage media), a memory controller 122, one or more processing units (CPUs) 120, a peripheral device interface 118, an RF circuit 108, an audio circuit 110, a speaker 111, a microphone 113, an input / output (I / O) subsystem 106, other input control devices 116, and an external port 124. The device 100 optionally includes one or more optical sensors 164. The device 100 optionally includes one or more contact force sensors 165 for detecting the intensity of contact on the device 100 (e.g., a touch-sensitive surface, such as the touch-sensitive display system 112 of the device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile output on device 100 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touch pad 355 of device 300). These components optionally communicate via one or more communication buses or signal lines 103.

[0037] As used in this specification and claims, the term "intensity" of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch-sensitive surface, or to a surrogate (surrogate) of the force or pressure of a contact on the touch-sensitive surface. The intensity of a contact has a range of values ​​that includes at least four different values ​​and more typically includes hundreds of different values ​​(e.g., at least 256). The intensity of a contact is optionally determined (or measured) using various methods and various sensors or combinations of sensors. For example, one or more force sensors below or adjacent to the touch-sensitive surface are optionally used to measure the force at different points on the touch-sensitive surface. In some implementations, force measurements from multiple force sensors are combined (e.g., weighted average) to determine an estimated contact force. Similarly, the pressure-sensitive tip of a stylus is optionally used to determine the pressure of the stylus on the touch-sensitive surface. Alternatively, the size of the contact area detected on the touch-sensitive surface and / or its change, the capacitance of the touch-sensitive surface near the contact and / or its change, and / or the resistance of the touch-sensitive surface near the contact and / or its change are optionally used as a substitute for the force or pressure of the contact on the touch-sensitive surface. In some embodiments, the substitute measurement of the contact force or pressure is used directly to determine whether the intensity threshold has been exceeded (e.g., the intensity threshold is described in units corresponding to the substitute measurement). In some embodiments, the substitute measurement of the contact force or pressure is converted into an estimated force or pressure, and the estimated force or pressure is used to determine whether the intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). Using the intensity of the contact as an attribute of the user input allows the user to access additional device functions that would otherwise be inaccessible to the user on a smaller device with limited real estate, which is used to display an enable indication (e.g., on a touch-sensitive display) and / or receive user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical / mechanical controls, such as knobs or buttons).

[0038] As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, which will be detected by a user using the user's sense of touch. For example, in the case where a device or a component of the device is in contact with a user's touch-sensitive surface (e.g., a finger, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in a physical characteristic of the device or component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "press click" or "release click" to a physical actuation button. In some cases, the user will feel a tactile sensation, such as a "press click" or "release click", even when the physical actuation button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movement does not move. As another example, even when there is no change in the smoothness of the touch-sensitive surface, movement of the touch-sensitive surface may optionally be interpreted or sensed by the user as "roughness" of the touch-sensitive surface. Although such a user's interpretation of touch will be limited by the user's individualized sensory perceptions, many sensory perceptions of touch are common to most users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., "press click," "release click," "roughness"), unless otherwise stated, the generated tactile output corresponds to a physical displacement of the device or a component thereof that would generate that sensory perception for a typical (or average) user.

[0039] It should be understood that device 100 is merely one example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. Figure 1A The various components shown in the EMBODIMENTS 2000 are implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0040] Memory 102 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Memory controller 122 optionally controls other components of device 100 to access memory 102.

[0041] The peripheral device interface 118 can be used to couple the input peripheral devices and output peripheral devices of the device to the CPU 120 and the memory 102. The one or more processors 120 run or execute various software programs and / or instruction sets stored in the memory 102 to perform various functions of the device 100 and process data. In some embodiments, the peripheral device interface 118, the CPU 120, and the memory controller 122 are optionally implemented on a single chip such as the chip 104. In some other embodiments, they are optionally implemented on separate chips.

[0042] RF (radio frequency) circuit 108 receives and sends RF signals, also referred to as electromagnetic signals. RF circuit 108 converts electrical signals into / converts electromagnetic signals into electrical signals, and communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 108 optionally includes well-known circuits for performing these functions, including but not limited to antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codec chipsets, user identity modules (SIM) cards, memories, and the like. RF circuit 108 optionally communicates with networks and other devices via wireless communications, such as the Internet (also referred to as the World Wide Web (WWW)), intranets, and / or wireless networks (such as cellular telephone networks, wireless local area networks (LANs), and / or metropolitan area networks (MANs)). RF circuit 108 optionally includes well-known circuits for detecting near field communications (NFC) fields, such as through short-range communications radio components. Wireless communication optionally uses any of a variety of communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High Speed ​​Downlink Packet Access (HSDPA), High Speed ​​Uplink Packet Access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual Cell HSPA (DC-HSPDA), Long Term Evolution (LTE), Near Field Communication (NFC), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Bluetooth Low Energy (BTLE), Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11c, IEEE 802.11d), IEEE 802.11e, IEEE 802.11f, IEEE 802.11g, IEEE 802.11h, IEEE 802.11j ... 11g, IEEE 802.11n and / or IEEE 802.11ac), Voice over Internet Protocol (VoIP), Wi-MAX, email protocols (e.g., Internet Message Access Protocol (IMAP) and / or Post Office Protocol (POP)), instant messaging (e.g., Extensible Messaging and Presence Protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Utilizing Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and / or Short Message Service (SMS), or any other suitable communication protocol including communication protocols that have not been developed as of the filing date of this document.

[0043] The audio circuit 110, speaker 111, and microphone 113 provide an audio interface between a user and the device 100. The audio circuit 110 receives audio data from the peripheral device interface 118, converts the audio data into electrical signals, and transmits the electrical signals to the speaker 111. The speaker 111 converts the electrical signals into sound waves audible to humans. The audio circuit 110 also receives electrical signals converted from sound waves by the microphone 113. The audio circuit 110 converts the electrical signals into audio data and transmits the audio data to the peripheral device interface 118 for processing. The audio data is optionally retrieved from and / or transmitted to the memory 102 and / or the RF circuit 108 by the peripheral device interface 118. In some embodiments, the audio circuit 110 also includes a headset jack (e.g., Figure 2 The headset jack provides an interface between the audio circuit 110 and a removable audio input / output peripheral device, such as an output-only headset or a headset having both output (e.g., a single or dual-ear headset) and input (e.g., a microphone).

[0044] The I / O subsystem 106 couples input / output peripherals on the device 100, such as a touch screen 112 and other input control devices 116, to a peripheral device interface 118. The I / O subsystem 106 optionally includes a display controller 156, an optical sensor controller 158, an intensity sensor controller 159, a tactile feedback controller 161, and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive / send electrical signals from other input control devices 116. The other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, etc. In some alternative embodiments, the input controller 160 is optionally coupled to any of the following (or none of the following): a keyboard, an infrared port, a USB port, and a pointing device such as a mouse. One or more buttons (e.g., Figure 2 208) optionally includes an increase / decrease button for volume control of the speaker 111 and / or the microphone 113. The one or more buttons optionally include a push button (e.g., Figure 2206 in). In some embodiments, the electronic device is a computer system that communicates with one or more input devices (e.g., via wireless communication, via wired communication). In some embodiments, the one or more input devices include a touch-sensitive surface (e.g., a touchpad as part of a touch-sensitive display). In some embodiments, the one or more input devices include one or more camera sensors (e.g., one or more optical sensors 164 and / or one or more depth camera sensors 175), such as for tracking a user's gestures (e.g., hand gestures) as input. In some embodiments, the one or more input devices are integrated with the computer system. In some embodiments, the one or more input devices are separate from the computer system.

[0045] A quick press of the push button optionally disengages the lock of the touch screen 112 or optionally begins the process of unlocking the device using gestures on the touch screen, as described in U.S. Patent Application 11 / 322,549, filed on December 23, 2005, entitled "Unlocking a Device by Performing Gestures on an Unlock Image" (i.e., U.S. Patent No. 7,657,849), which is hereby incorporated by reference in its entirety. A long press of the push button (e.g., 206) optionally turns the device 100 on or off. The functions of one or more buttons are optionally user-customizable. The touch screen 112 is used to implement virtual buttons or soft buttons and one or more soft keyboards.

[0046] The touch-sensitive display 112 provides an input interface and an output interface between the device and the user. The display controller 156 receives electrical signals from the touch screen 112 and / or sends electrical signals to the touch screen 112. The touch screen 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, videos, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some or all of the visual output optionally corresponds to user interface objects.

[0047] The touch screen 112 has a touch-sensitive surface, sensor, or sensor group that accepts input from a user based on tactile and / or haptic contact. The touch screen 112 and display controller 156 (together with any associated modules and / or instruction sets in memory 102) detect contact on the touch screen 112 (and any movement or interruption of the contact) and convert the detected contact into interaction with a user interface object (e.g., one or more soft keys, icons, web pages, or images) displayed on the touch screen 112. In an exemplary embodiment, the point of contact between the touch screen 112 and the user corresponds to a finger of the user.

[0048] The touch screen 112 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments. The touch screen 112 and display controller 156 optionally use any of a variety of touch sensing technologies now known or later developed, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 112 to detect contact and any movement or interruption thereof. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as in the Apple ® from Apple Inc. (Cupertino, California). and iPod The technology used in.

[0049] The touch-sensitive display in some embodiments of touch screen 112 is optionally similar to the multi-touch-sensitive touchpad described in the following U.S. Patents: 6,323,846 (Westerman et al.), 6,570,557 (Westerman et al.), and / or 6,677,932 (Westerman et al.), and / or U.S. Patent Publication 2002 / 0015024A1, each of which is hereby incorporated by reference in its entirety. However, touch screen 112 displays visual output from device 100, while a touch-sensitive touchpad does not provide visual output.

[0050] The touch-sensitive display in some embodiments of the touch screen 112 is described in the following applications: (1) U.S. patent application No. 11 / 381,313, filed on May 2, 2006, "Multipoint Touch Surface Controller"; (2) U.S. patent application No. 10 / 840,862, filed on May 6, 2004, "Multipoint Touchscreen"; (3) U.S. patent application No. 10 / 903,964, filed on July 30, 2004, "Gestures For Touch Sensitive Input Devices"; (4) U.S. patent application No. 11 / 048,264, filed on January 31, 2005, "Gestures For Touch Sensitive Input Devices"; (5) U.S. patent application No. 11 / 038,590, filed on January 18, 2005, "Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices”; (6) U.S. patent application No. 11 / 228,758, filed on September 16, 2005, “Virtual Input Device Placement On A Touch Screen User Interface”; (7) U.S. patent application No. 11 / 228,700, filed on September 16, 2005, “Operation Of A Computer With A Touch Screen Interface”; (8) U.S. patent application No. 11 / 228,737, filed on September 16, 2005, “Activating Virtual Keys Of A Touch-Screen Virtual Keyboard”; and (9) U.S. patent application No. 11 / 367,749, filed on March 3, 2006, “Multi-Functional Hand-Held Device”. All of these applications are incorporated herein by reference in their entirety.

[0051] The touch screen 112 optionally has a video resolution of more than 100 dpi. In some embodiments, the touch screen has a video resolution of about 160 dpi. The user optionally uses any suitable object or attachment such as a stylus, a finger, etc. to contact the touch screen 112. In some embodiments, the user interface is designed to work primarily through finger-based contacts and gestures, which may not be as accurate as stylus-based input due to the larger contact area of ​​the finger on the touch screen. In some embodiments, the device converts rough finger-based input into precise pointer / cursor positions or commands for performing the actions desired by the user.

[0052] In some embodiments, in addition to the touch screen, the device 100 optionally includes a touchpad (not shown) for activating or deactivating specific functions. In some embodiments, the touchpad is a touch-sensitive area of ​​the device that, unlike the touch screen, does not display visual output. The touchpad is optionally a touch-sensitive surface that is separate from the touch screen 112 or is an extension of the touch-sensitive surface formed by the touch screen.

[0053] The device 100 also includes a power system 162 for powering the various components. The power system 162 optionally includes a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, a power fault detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode (LED)), and any other components associated with the generation, management, and distribution of power in a portable device.

[0054] Device 100 optionally also includes one or more optical sensors 164 . Figure 1AAn optical sensor coupled to an optical sensor controller 158 in the I / O subsystem 106 is shown. The optical sensor 164 optionally includes a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The optical sensor 164 receives light projected through one or more lenses from the environment and converts the light into data representing an image. In conjunction with the imaging module 143 (also called a camera module), the optical sensor 164 optionally captures a static image or video. In some embodiments, the optical sensor is located on the rear of the device 100, opposite to the touch screen display 112 on the front of the device, so that the touch screen display can be used as a viewfinder for static images and / or video image acquisition. In some embodiments, the optical sensor is located on the front of the device so that the user's image is optionally obtained for video conferencing while the user views other video conference participants on the touch screen display. In some embodiments, the position of the optical sensor 164 can be changed by the user (e.g., by rotating the lens and sensor in the device housing) so that a single optical sensor 164 is used with the touch screen display for both video conferencing and static image and / or video image acquisition.

[0055] Device 100 optionally also includes one or more contact intensity sensors 165 . Figure 1A A contact force sensor is shown coupled to a force sensor controller 159 in the I / O subsystem 106. Contact force sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other force sensors (e.g., sensors for measuring the force (or pressure) of contact on a touch-sensitive surface). Contact force sensor 165 receives contact force information (e.g., pressure information or a surrogate for pressure information) from the environment. In some embodiments, at least one contact force sensor is juxtaposed or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 112). In some embodiments, at least one contact force sensor is located on the back of device 100, opposite to touch screen display 112 located on the front of device 100.

[0056] Device 100 optionally also includes one or more proximity sensors 166 . Figure 1AA proximity sensor 166 is shown coupled to the peripherals interface 118. Alternatively, the proximity sensor 166 is optionally coupled to the input controller 160 in the I / O subsystem 106. The proximity sensor 166 is optionally implemented as described in the following U.S. patent application numbers: 11 / 241,839, entitled "Proximity Detector In Handheld Device"; 11 / 240,788, entitled "Proximity Detector In Handheld Device"; 11 / 620,702, entitled "Using Ambient Light Sensor To Augment Proximity Sensor Output"; 11 / 586,862, entitled "Automated Response To And Sensing Of User Activity In Portable Devices"; and 11 / 638,251, entitled "Methods And Systems For Automatic Configuration Of Peripherals", which are hereby incorporated by reference in their entirety. In some embodiments, when the multifunction device is placed near the user's ear (e.g., when the user is on a phone call), the proximity sensor turns off and disables the touch screen 112.

[0057] Device 100 optionally also includes one or more tactile output generators 167 . Figure 1A A tactile output generator is shown coupled to a tactile feedback controller 161 in the I / O subsystem 106. The tactile output generator 167 optionally includes one or more electroacoustic devices such as a speaker or other audio component; and / or an electromechanical device for converting energy into linear motion such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component for converting an electrical signal into a tactile output on the device). The contact force sensor 165 receives tactile feedback generation instructions from the tactile feedback module 133 and generates a tactile output on the device 100 that can be felt by a user of the device 100. In some embodiments, at least one tactile output generator is arranged in parallel or adjacent to a touch-sensitive surface (e.g., a touch-sensitive display system 112) and optionally generates a tactile output by moving the touch-sensitive surface vertically (e.g., inward / outward of the surface of the device 100) or laterally (e.g., backward and forward in the same plane as the surface of the device 100). In some embodiments, at least one tactile output generator sensor is located on the back of the device 100, opposite the touch screen display 112 located on the front of the device 100.

[0058] Device 100 optionally also includes one or more accelerometers 168 . Figure 1A An accelerometer 168 coupled to the peripheral device interface 118 is shown. Alternatively, the accelerometer 168 is optionally coupled to the input controller 160 in the I / O subsystem 106. The accelerometer 168 is optionally implemented as described in the following U.S. Patent Publication Nos.: 20050190059, entitled "Acceleration-based Theft Detection System for Portable Electronic Devices" and 20060017692, entitled "Methods And Apparatuses For Operating A Portable Device Based On An Accelerometer", both of which are incorporated herein by reference in their entirety. In some embodiments, information is displayed in a portrait view or a landscape view on the touch screen display based on analysis of data received from one or more accelerometers. The device 100 optionally includes a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) in addition to the accelerometer 168 for obtaining information about the position and orientation (e.g., portrait or landscape) of the device 100.

[0059] In some embodiments, the software components stored in memory 102 include an operating system 126, a communication module (or instruction set) 128, a contact / motion module (or instruction set) 130, a graphics module (or instruction set) 132, a text input module (or instruction set) 134, a global positioning system (GPS) module (or instruction set) 135, and an application (or instruction set) 136. In addition, in some embodiments, memory 102 ( Figure 1A ) or 370( Figure 3 ) storage device / global internal state 157, such as Figure 1A and Figure 3 . The device / global internal state 157 includes one or more of the following: active application state, which indicates which applications (if any) are currently active; display state, which indicates what applications, views, or other information occupy various areas of the touch screen display 112; sensor state, including information obtained from the device's various sensors and input control devices 116; and position information related to the device's position and / or posture.

[0060] The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, iOS, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and / or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.), and facilitating communication between various hardware components and software components.

[0061] The communication module 128 facilitates communication with other devices through one or more external ports 124, and also includes various software components for processing data received by the RF circuit 108 and / or the external port 124. The external port 124 (e.g., Universal Serial Bus (USB), FireWire, etc.) is suitable for coupling directly to other devices, or indirectly through a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is connected to (trademark of Apple Inc.) devices.

[0062] The contact / motion module 130 optionally detects contact with the touch screen 112 (in conjunction with the display controller 156) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). The contact / motion module 130 includes various software components for performing various operations related to contact detection, such as determining whether contact has occurred (e.g., detecting a finger press event), determining the contact strength (e.g., the force or pressure of the contact, or a substitute for the force or pressure of the contact), determining whether there is movement of the contact and tracking the movement on the touch-sensitive surface (e.g., detecting one or more finger drag events), and determining whether the contact has stopped (e.g., detecting a finger lift event or contact disconnection). The contact / motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of the contact point optionally includes determining the rate (magnitude), velocity (magnitude and direction) and / or acceleration (change in magnitude and / or direction) of the contact point, the movement of the contact point being represented by a series of contact data. These operations are optionally applied to a single point of contact (e.g., a single finger contact) or multiple points of simultaneous contact (e.g., "multi-touch" / multiple finger contacts). In some embodiments, the contact / motion module 130 and display controller 156 detect contact on the touch pad.

[0063] In some embodiments, the contact / motion module 130 uses a set of one or more intensity thresholds to determine whether an operation has been performed by a user (e.g., to determine whether a user has "clicked" an icon). In some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of specific physical actuators and can be adjusted without changing the physical hardware of the device 100). For example, without changing the touchpad or touchscreen display hardware, the mouse "click" threshold of a touchpad or touchscreen can be set to any one of a large range of predefined thresholds. In addition, in some specific implementations, a software setting is provided to the user of the device for adjusting one or more intensity thresholds in a set of intensity thresholds (e.g., by adjusting individual intensity thresholds and / or by utilizing a system-level click on an "intensity" parameter to adjust multiple intensity thresholds at once).

[0064] The contact / motion module 130 optionally detects gesture input by the user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and / or intensities of the detected contacts). Therefore, gestures are optionally detected by detecting specific contact patterns. For example, detecting a finger tap gesture includes detecting a finger press event, and then detecting a finger lift (lift-off) event at the same location (or substantially the same location) as the finger press event (e.g., at the location of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger press event, then detecting one or more finger drag events, and then detecting a finger lift (lift-off) event.

[0065] The graphics module 132 includes various known software components for rendering and displaying graphics on the touch screen 112 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast, or other visual attributes) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including but not limited to text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, etc.

[0066] In some embodiments, the graphics module 132 stores data representing graphics to be used. Each graphic is optionally assigned a corresponding code. The graphics module 132 receives one or more codes for specifying the graphics to be displayed from an application program, etc., and also receives coordinate data and other graphic attribute data together if necessary, and then generates screen image data to be output to the display controller 156.

[0067] Haptic feedback module 133 includes various software components for generating instructions used by tactile output generator 167 to produce tactile output at one or more locations on device 100 in response to user interaction with device 100 .

[0068] Text input module 134, which is optionally a component of graphics module 132, provides a soft keyboard for entering text in various applications (e.g., contacts 137, email 140, IM 141, browser 147, and any other application requiring text input).

[0069] The GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to the phone 138 for use in location-based dialing; to the camera 143 as picture / video metadata; and to applications that provide location-based services, such as a weather widget, a local yellow pages widget, and a map / navigation widget).

[0070] The application 136 optionally includes the following modules (or instruction sets) or a subset or superset thereof:

[0071] ● Contacts module 137 (sometimes called address book or contact list);

[0072] ● Telephone module 138;

[0073] ● Video conferencing module 139;

[0074] ● Email client module 140;

[0075] ●Instant messaging (IM) module 141;

[0076] ●Fitness support module 142;

[0077] ● Camera module 143 for still images and / or video images;

[0078] ● Image management module 144;

[0079] ●Video player module;

[0080] ●Music player module;

[0081] ●Browser module 147;

[0082] ●Calendar module 148;

[0083] A widget module 149, which optionally includes one or more of the following: a weather widget 149-1, a stock market widget 149-2, a calculator widget 149-3, an alarm widget 149-4, a dictionary widget 149-5, and other widgets acquired by the user, and a user-created widget 149-6;

[0084] A widget creator module 150 for forming a user-created widget 149-6;

[0085] ●Search module 151;

[0086] ● Video and music player module 152, which merges the video player module and the music player module;

[0087] ●Note module 153;

[0088] ● Map module 154; and / or

[0089] ●Online video module 155.

[0090] Examples of other applications 136 optionally stored in memory 102 include other word processing applications, other image editing applications, drawing applications, rendering applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.

[0091] In conjunction with the touch screen 112, display controller 156, touch / motion module 130, graphics module 132, and text input module 134, the contact module 137 is optionally used to manage an address book or contact list (e.g., stored in the application internal state 192 of the contact module 137 in memory 102 or memory 370), including: adding one or more names to the address book; deleting names from the address book; associating phone numbers, email addresses, physical addresses, or other information with names; associating images with names; categorizing and classifying names; providing phone numbers or email addresses to initiate and / or facilitate communications via telephone 138, video conferencing module 139, email 140, or IM 141; and the like.

[0092] In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, phone module 138 is optionally used to enter a sequence of characters corresponding to a phone number, access one or more phone numbers in contact module 137, modify an entered phone number, dial a corresponding phone number, conduct a conversation, and disconnect or hang up when the conversation is complete. As described above, wireless communication optionally uses any of a variety of communication standards, protocols, and technologies.

[0093] In combination with the RF circuit 108, the audio circuit 110, the speaker 111, the microphone 113, the touch screen 112, the display controller 156, the optical sensor 164, the optical sensor controller 158, the contact / motion module 130, the graphics module 132, the text input module 134, the contact module 137 and the telephone module 138, the video conferencing module 139 includes executable instructions for initiating, conducting and terminating a video conference between a user and one or more other participants in accordance with user instructions.

[0094] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, email client module 140 includes executable instructions for creating, sending, receiving, and managing emails in response to user instructions. In conjunction with image management module 144, email client module 140 makes it very easy to create and send emails with still images or video images captured by camera module 143.

[0095] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, instant messaging module 141 includes executable instructions for the following operations: inputting a character sequence corresponding to an instant message, modifying previously input characters, transmitting a corresponding instant message (e.g., using a short message service (SMS) or multimedia message service (MMS) protocol for phone-based instant messaging or using XMPP, SIMPLE, or IMPS for Internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, the transmitted and / or received instant messages optionally include graphics, photos, audio files, video files, and / or other attachments supported in MMS and / or enhanced messaging services (EMS). As used herein, "instant messaging" refers to both phone-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).

[0096] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, the GPS module 135, the map module 154 and the music player module, the fitness support module 142 includes executable instructions for creating a fitness (e.g., with time, distance and / or calorie burn goals); communicating with fitness sensors (sports equipment); receiving fitness sensor data; calibrating sensors for monitoring fitness; selecting and playing music for fitness; and displaying, storing and transmitting fitness data.

[0097] In conjunction with the touch screen 112, display controller 156, optical sensor 164, optical sensor controller 158, contact / motion module 130, graphics module 132 and image management module 144, the camera module 143 includes executable instructions for the following operations: capturing still images or videos (including video streams) and storing them in the memory 102, modifying the characteristics of the still images or videos, or deleting the still images or videos from the memory 102.

[0098] In conjunction with touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 includes executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slideshow or album), and storing still images and / or video images.

[0099] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132 and the text input module 134, the browser module 147 includes executable instructions for browsing the Internet in accordance with user instructions, including searching, linking to, receiving and displaying web pages or portions thereof, as well as attachments and other files linked to web pages.

[0100] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134, the email client module 140 and the browser module 147, the calendar module 148 includes executable instructions for creating, displaying, modifying and storing calendars and data associated with the calendar (e.g., calendar entries, to-do items, etc.) in accordance with user instructions.

[0101] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, and browser module 147, widget module 149 is a mini-application that is optionally downloaded and used by a user (e.g., weather widget 149-1, stock market widget 149-2, calculator widget 149-3, alarm widget 149-4, and dictionary widget 149-5) or a mini-application created by a user (e.g., user-created widget 149-6). In some embodiments, the widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, the widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., Yahoo! widget).

[0102] In combination with the RF circuit 108, touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134 and browser module 147, the widget creator module 150 is optionally used by a user to create widgets (e.g., converting a user-specified portion of a web page into a widget).

[0103] In combination with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the search module 151 includes executable instructions for searching the memory 102 for text, music, sound, images, videos and / or other files that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with user instructions.

[0104] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 includes executable instructions that allow a user to download and play back recorded music and other sound files stored in one or more file formats, such as MP3 or AAC files, and executable instructions for displaying, presenting, or otherwise playing back video (e.g., on touch screen 112 or on an external display connected via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player, such as an iPod (trademark of Apple Inc.).

[0105] In conjunction with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, the note module 153 includes executable instructions for creating and managing notes, to-do lists, etc. according to user instructions.

[0106] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134, the GPS module 135 and the browser module 147, the map module 154 is optionally used to receive, display, modify and store maps and data associated with the maps (e.g., driving directions, data relating to stores and other points of interest at or near a particular location, and other location-based data) in accordance with user instructions.

[0107] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, and browser module 147, online video module 155 includes instructions for performing the following operations: allowing a user to access, browse, receive (e.g., by streaming and / or downloading), playback (e.g., on the touch screen or on an external display connected via external port 124), send an email with a link to a specific online video, and otherwise manage online videos in one or more file formats such as H.264. In some embodiments, instant messaging module 141 is used instead of email client module 140 to send a link to a specific online video. Additional descriptions of online video applications can be found in U.S. Provisional Patent Application No. 60 / 936,562, filed on June 20, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” and U.S. Patent Application No. 11 / 968,067, filed on December 31, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” the contents of which are hereby incorporated by reference in their entirety.

[0108] Each of the modules and applications described above corresponds to an executable instruction set for performing one or more of the functions described above and the methods described in this patent application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (e.g., instruction sets) do not have to be implemented as independent software programs, processes, or modules, so various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. For example, a video player module is optionally combined with a music player module into a single module (e.g., Figure 1A In some embodiments, the memory 102 optionally stores a subset of the above modules and data structures. In addition, the memory 102 optionally stores additional modules and data structures not described above.

[0109] In some embodiments, the device 100 is a device where the operation of a predefined set of functions on the device is performed exclusively through a touch screen and / or a touch pad. By using a touch screen and / or a touch pad as the primary input control device for operating the device 100, the number of physical input control devices (e.g., push buttons, dials, etc.) on the device 100 is optionally reduced.

[0110] A predefined set of functions that are performed exclusively through a touch screen and / or a touch pad optionally includes navigation between user interfaces. In some embodiments, the touch pad, when touched by a user, navigates the device 100 from any user interface displayed on the device 100 to a main menu, a main desktop menu, or a root menu. In such embodiments, a touch pad is used to implement a "menu button." In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a touch pad.

[0111] Figure 1B 1 is a block diagram illustrating exemplary components for event processing according to some embodiments. In some embodiments, memory 102 ( Figure 1A ) or memory 370( Figure 3 ) includes an event classifier 170 (e.g., in the operating system 126) and a corresponding application 136-1 (e.g., any one of the aforementioned applications 137 to 151, 155, 380 to 390).

[0112] Event classifier 170 receives event information and determines the application 136-1 and the application view 191 of application 136-1 to which the event information is to be delivered. Event classifier 170 includes event monitor 171 and event distributor module 174. In some embodiments, application 136-1 includes application internal state 192, which indicates one or more current application views displayed on touch-sensitive display 112 when the application is active or executing. In some embodiments, device / global internal state 157 is used by event classifier 170 to determine which application(s) is currently active, and application internal state 192 is used by event classifier 170 to determine the application view 191 to which the event information is to be delivered.

[0113] In some embodiments, the application internal state 192 includes additional information, such as one or more of the following: resumption information to be used when the application 136-1 resumes execution, user interface state information indicating that information is being displayed or is ready to be displayed by the application 136-1, a state queue for enabling a user to return to a previous state or view of the application 136-1, and a repeat / undo queue of previous actions taken by the user.

[0114] Event monitor 171 receives event information from peripherals interface 118. Event information includes information about sub-events (e.g., user touches on touch-sensitive display 112 as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I / O subsystem 106 or sensors such as proximity sensor 166, one or more accelerometers 168, and / or microphone 113 (through audio circuit 110). The information that peripherals interface 118 receives from I / O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.

[0115] In some embodiments, event monitor 171 sends requests to peripheral device interface 118 at predetermined intervals. In response, peripheral device interface 118 transmits event information. In other embodiments, peripheral device interface 118 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and / or receiving an input for more than a predetermined duration).

[0116] In some embodiments, the event classifier 170 also includes a hit view determination module 172 and / or an active event identifier determination module 173.

[0117] When the touch-sensitive display 112 displays more than one view, the hit view determination module 172 provides software procedures for determining where within one or more views a sub-event has occurred. A view consists of controls and other elements that a user can see on the display.

[0118] Another aspect of the user interface associated with an application is a set of views, sometimes also referred to herein as application views or user interface windows, in which information is displayed and touch-based gestures occur. The application views (of the respective application) in which a touch is detected optionally correspond to a programmatic level within the programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected is optionally referred to as a hit view, and the set of events that are recognized as correct input is optionally determined at least in part based on the hit view of the initial touch that started the touch-based gesture.

[0119] Hit view determination module 172 receives information related to sub-events of touch-based gestures. When an application has multiple views organized in a hierarchy, hit view determination module 172 identifies the hit view as the lowest view in the hierarchy where the sub-events should be processed. In most cases, the hit view is the lowest level view in which the initiating sub-event (e.g., the first sub-event in a sequence of sub-events that form an event or potential event) occurs. Once a hit view is identified by hit view determination module 172, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.

[0120] Active event recognizer determination module 173 determines which view or views within the view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of the sub-event are actively participating views, and therefore determines that all actively participating views should receive a particular sequence of sub-events. In other embodiments, even if a touch sub-event is completely confined to an area associated with one particular view, higher views in the hierarchy will still remain as actively participating views.

[0121] Event distributor module 174 distributes event information to event recognizers (e.g., event recognizers 180). In embodiments including active event recognizer determination module 173, event distributor module 174 delivers the event information to the event recognizers determined by active event recognizer determination module 173. In some embodiments, event distributor module 174 stores the event information in an event queue, which is retrieved by corresponding event receivers 182.

[0122] In some embodiments, operating system 126 includes event classifier 170. Alternatively, application 136-1 includes event classifier 170. In yet another embodiment, event classifier 170 is a standalone module or is part of another module stored in memory 102, such as contact / motion module 130.

[0123] In some embodiments, application 136-1 includes multiple event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events occurring in a corresponding view of the user interface of the application. Each application view 191 of application 136-1 includes one or more event recognizers 180. Typically, the corresponding application view 191 includes multiple event recognizers 180. In other embodiments, one or more event recognizers in event recognizers 180 are part of an independent module, which is a higher-level object such as a user interface toolkit (not shown) or application 136-1 from which methods and other properties are inherited. In some embodiments, the corresponding event handler 190 includes one or more of the following: data updater 176, object updater 177, GUI updater 178, and / or event data 179 received from event classifier 170. Event handler 190 optionally utilizes or calls data updater 176, object updater 177 or GUI updater 178 to update application internal state 192. Alternatively, one or more of the application views in application view 191 include one or more corresponding event handlers 190. In addition, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in the corresponding application view 191.

[0124] The corresponding event identifier 180 receives event information (e.g., event data 179) from the event classifier 170 and identifies the event based on the event information. The event identifier 180 includes an event receiver 182 and an event comparator 184. In some embodiments, the event identifier 180 also includes metadata 183 and at least a subset of event delivery instructions 188 (which optionally include sub-event delivery instructions).

[0125] Event receiver 182 receives event information from event classifier 170. Event information includes information about sub-events such as touch or touch movement. Depending on the sub-event, the event information also includes additional information, such as the location of the sub-event. When the sub-event involves the movement of the touch, the event information optionally also includes the speed and direction of the sub-event. In some embodiments, the event includes the device rotating from one orientation to another orientation (for example, from a longitudinal orientation to a transverse orientation, or vice versa), and the event information includes corresponding information about the current orientation of the device (also referred to as the device posture).

[0126] Event comparator 184 compares event information with predefined event or sub-event definitions, and determines an event or sub-event based on the comparison, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 184 includes event definition 186. Event definition 186 includes the definition of an event (e.g., a predefined sequence of sub-events), such as event 1 (187-1), event 2 (187-2), and others. In some embodiments, sub-events in event (187) include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one example, the definition of event 1 (187-1) is a double-click on a displayed object. For example, a double-click includes a first touch (touch start) of a predetermined duration on a displayed object, a first lift-off (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on a displayed object, and a second lift-off (touch end) of a predetermined duration. In another example, the definition of event 2 (187-2) is a drag on a displayed object. For example, dragging includes a touch (or contact) of a predetermined duration on a displayed object, movement of the touch on the touch-sensitive display 112, and lifting of the touch (touch end). In some embodiments, the event also includes information for one or more associated event handlers 190.

[0127] In some embodiments, event definition 187 includes definitions of events for corresponding user interface objects. In some embodiments, event comparator 184 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view displaying three user interface objects on touch-sensitive display 112, when a touch is detected on touch-sensitive display 112, event comparator 184 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a corresponding event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, event comparator 184 selects an event handler associated with a sub-event and the object that triggered the hit test.

[0128] In some embodiments, the definition of the corresponding event (187) also includes a delay action that delays the delivery of the event information until it has been determined that the sub-event sequence does or does not correspond to the event type of the event identifier.

[0129] When a corresponding event recognizer 180 determines that a sequence of sub-events does not match any event in event definition 186, the corresponding event recognizer 180 enters an event impossible, event failed, or event ended state, after which subsequent sub-events of the touch-based gesture are ignored. In this case, other event recognizers (if any) that remain active for the hit view continue to track and process sub-events of the ongoing touch-based gesture.

[0130] In some embodiments, the corresponding event recognizers 180 include metadata 183 with configurable properties, flags, and / or lists that indicate how the event delivery system should perform sub-event delivery to actively participating event recognizers. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate how event recognizers interact or can interact with each other. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate whether sub-events are delivered to different levels in a view or programmatic hierarchy.

[0131] In some embodiments, when one or more specific sub-events of an event are identified, the corresponding event recognizer 180 activates an event handler 190 associated with the event. In some embodiments, the corresponding event recognizer 180 delivers event information associated with the event to the event handler 190. Activating the event handler 190 is different from sending (and deferred sending) the sub-events to the corresponding hit view. In some embodiments, the event recognizer 180 throws a tag associated with the identified event, and the event handler 190 associated with the tag obtains the tag and executes a predefined process.

[0132] In some embodiments, the event delivery instructions 188 include a sub-event delivery instruction that delivers event information about a sub-event without activating an event handler. Instead, the sub-event delivery instruction delivers the event information to an event handler associated with a sub-event sequence or to an actively participating view. The event handler associated with the sub-event sequence or with an actively participating view receives the event information and executes a predetermined process.

[0133] In some embodiments, data updater 176 creates and updates data used in application 136-1. For example, data updater 176 updates phone numbers used in contact module 137 or stores video files used in video player module. In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 177 creates new user interface objects or updates the position of user interface objects. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends the display information to graphics module 132 for display on a touch-sensitive display.

[0134] In some embodiments, event handler 190 includes or has access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of the corresponding application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.

[0135] It should be understood that the above discussion of event processing for user touches on a touch-sensitive display also applies to other forms of user input that utilize input devices to operate the multifunction device 100, and not all user input is initiated on the touch screen. For example, mouse movement and mouse button presses, optionally in conjunction with single or multiple keyboard presses or hold; contact movement on a touch pad, such as tapping, dragging, scrolling, etc.; stylus input; movement of the device; verbal commands; detected eye movement; biometric input; and / or any combination thereof are optionally used as input corresponding to sub-events that define the event to be distinguished.

[0136] Figure 2A portable multifunction device 100 with a touch screen 112 according to some embodiments is shown. The touch screen optionally displays one or more graphics within a user interface (UI) 200. In this embodiment and other embodiments described below, a user can select one or more of these graphics by, for example, making gestures on the graphics using one or more fingers 202 (not drawn to scale in the figure) or one or more styluses 203 (not drawn to scale in the figure). In some embodiments, when the user interrupts contact with one or more graphics, selection of one or more graphics will occur. In some embodiments, gestures optionally include one or more taps, one or more swipes (from left to right, from right to left, up and / or down) and / or rolling of fingers that have been in contact with the device 100 (from right to left, from left to right, up and / or down). In some specific implementations or in some cases, inadvertent contact with a graphic will not select the graphic. For example, when the gesture corresponding to the selection is a tap, a swipe gesture that sweeps over an application icon optionally does not select the corresponding application.

[0137] In some embodiments, stylus 203 is an active device and includes one or more electronic circuits. For example, stylus 203 includes one or more sensors and one or more communication circuits (such as communication module 128 and / or RF circuit 108). In some embodiments, stylus 203 includes one or more processors and a power system (e.g., similar to power system 162). In some embodiments, stylus 203 includes an accelerometer (such as accelerometer 168), a magnetometer, and / or a gyroscope that can determine the positioning, angle, position, and / or other physical characteristics of stylus 203 (e.g., such as whether the stylus is put down, tilted toward or away from the device, and / or close to or away from the device). In some embodiments, stylus 203 communicates with the electronic device (e.g., via a communication circuit, through a wireless communication protocol such as Bluetooth) and transmits sensor data to the electronic device. In some embodiments, stylus 203 can determine (e.g., via an accelerometer or other sensor) whether the user is holding the device. In some embodiments, stylus 203 can accept tap input (e.g., a single or double tap) from a user on stylus 203 (e.g., received by an accelerometer or other sensor) and interpret the input as a command or request to perform a function or change to a different input mode.

[0138] The device 100 optionally also includes one or more physical buttons, such as a "home" or menu button 204. As previously described, the menu button 204 is optionally used to navigate to any application 136 in a set of applications that are optionally executed on the device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 112.

[0139] In some embodiments, the device 100 includes a touch screen 112, a menu button 204, a push button 206 for turning the device on / off and for locking the device, one or more volume adjustment buttons 208, a user identity module (SIM) card slot 210, an earphone jack 212, and a docking / charging external port 124. The push button 206 is optionally used to turn the device on / off by pressing the button and keeping the button in a pressed state for a predefined time interval; lock the device by pressing the button and releasing the button before the predefined time interval passes; and / or unlock the device or initiate an unlocking process. In an alternative embodiment, the device 100 also accepts voice input for activating or deactivating certain functions through a microphone 113. The device 100 also optionally includes one or more contact strength sensors 165 for detecting the strength of contact on the touch screen 112, and / or one or more tactile output generators 167 for generating tactile output for a user of the device 100.

[0140] Figure 3 300 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments. Device 300 does not have to be portable. In some embodiments, device 300 is a laptop computer, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a children's learning toy), a game system, or a control device (e.g., a home controller or an industrial controller). Device 300 typically includes one or more processing units (CPUs) 310, one or more network or other communication interfaces 360, a memory 370, and one or more communication buses 320 for interconnecting these components. The communication bus 320 optionally includes circuits (sometimes referred to as a chipset) that interconnect system components and control communications between system components. Device 300 includes an input / output (I / O) interface 330 with a display 340, which is typically a touch screen display. The I / O interface 330 also optionally includes a keyboard and / or a mouse (or other pointing device) 350 and a touchpad 355, a tactile output generator 357 for generating tactile output on the device 300 (e.g., similar to the above reference Figure 1A The tactile output generator 167 described above), sensor 359 (e.g., optical sensor, acceleration sensor, proximity sensor, touch sensor and / or contact intensity sensor (similar to the above reference Figure 1AThe memory 370 may include a high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices; and may optionally include a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 370 may optionally include one or more storage devices located away from the CPU 310. In some embodiments, the memory 370 stores data related to the portable multifunction device 100 ( Figure 1A ) or a subset thereof. In addition, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores a drawing module 380, a presentation module 382, ​​a word processing module 384, a website creation module 386, a disk editing module 388, and / or a spreadsheet module 390, while portable multifunction device 100 ( Figure 1A )'s memory 102 optionally does not store these modules.

[0141] Figure 3 Each element in the above-mentioned elements in is optionally stored in one or more memory devices of the previously mentioned memory device. Each module in the above-mentioned modules corresponds to the instruction set for performing the above-mentioned functions. The above-mentioned modules or programs (e.g., instruction sets) do not have to be implemented as independent software programs, processes or modules, and therefore the various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. In some embodiments, memory 370 optionally stores the subset of the above-mentioned modules and data structures. In addition, memory 370 optionally stores additional modules and data structures not described above.

[0142] Attention is now turned to an embodiment of a user interface that is optionally implemented on, for example, portable multifunction device 100.

[0143] Figure 4A An exemplary user interface of an application menu on portable multifunction device 100 according to some embodiments is shown. A similar user interface is optionally implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof:

[0144] ● Signal strength indicators 402 for wireless communications such as cellular signals and Wi-Fi signals;

[0145] ●Time 404;

[0146] ●Bluetooth indicator 405;

[0147] ●Battery status indicator 406;

[0148] A tray 408 with icons for commonly used applications, such as:

[0149] o An icon 416 of the phone module 138 labeled "Phone," which optionally includes an indicator 414 of the number of missed calls or voicemails;

[0150] o an icon 418 of the email client module 140 labeled “Mail”, the icon 418 optionally including an indicator 410 of the number of unread emails;

[0151] o An icon 420 labeled "Browser" of the browser module 147; and

[0152] o An icon 422 labeled “iPod” for a video and music player module 152 (also referred to as an iPod (trademark of Apple Inc.) module 152); and

[0153] ● Icons for other applications, such as:

[0154] o Icon 424 labeled "Message" of IM module 141;

[0155] o An icon 426 labeled “Calendar” of the calendar module 148;

[0156] o Icon 428 labeled “Photos” of the image management module 144;

[0157] o An icon 430 labeled “Camera” of the camera module 143;

[0158] ○ Icon 432 labeled “Online Video” of the online video module 155;

[0159] ○ Icon 434 labeled “Stock Market” of the Stock Market Widget 149 - 2 ;

[0160] o An icon 436 labeled “Map” of the map module 154;

[0161] ○ Icon 438 labeled “Weather” of the weather widget 149-1;

[0162] ○ Icon 440 labeled as “Clock” of the alarm clock widget 149 - 4 ;

[0163] o An icon 442 labeled “Fitness Support” of the fitness support module 142;

[0164] o An icon 444 labeled "Notes" of the notes module 153; and

[0165] o An icon 446 labeled “Settings” for a settings application or module that provides access to settings for the device 100 and its various applications 136 .

[0166] It should be noted that Figure 4A The icon labels shown in are exemplary only. For example, icon 422 of video and music player module 152 is labeled "Music" or "Music Player". Other labels are optionally used for various application icons. In some embodiments, the label of a corresponding application icon includes the name of the application corresponding to the corresponding application icon. In some embodiments, the label of a particular application icon is different from the name of the application corresponding to the particular application icon.

[0167] Figure 4B A touch-sensitive surface 451 (eg, touch screen display 112) is shown having a touch-sensitive surface 451 (eg, Figure 3 a tablet device or a touch pad 355) (e.g., Figure 3 Device 300 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 359) for detecting intensity of contacts on touch-sensitive surface 451 and / or one or more tactile output generators 357 for generating tactile output for a user of device 300.

[0168] Although some of the examples below are given with reference to input on a touch screen display 112 (where a touch-sensitive surface and a display are combined), in some embodiments, the device detects input on a touch-sensitive surface that is separate from the display, such as Figure 4B In some embodiments, the touch-sensitive surface (e.g., Figure 4B 451) has a main axis (e.g., Figure 4B 453) corresponding to the principal axis (for example, Figure 4B According to these embodiments, the device detects a position corresponding to a corresponding position on the display (e.g., Figure 4B 460 corresponds to 468 and 462 corresponds to 470) in contact with touch-sensitive surface 451 (e.g., Figure 4B Thus, when the touch-sensitive surface (e.g., Figure 4B 451) and a display of a multi-function device (e.g., Figure 4BWhen the user input detected by the device on the touch-sensitive surface (e.g., contacts 460 and 462 and their movement) is separated, the device is used to manipulate the user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.

[0169] In addition, although the following examples are primarily given with reference to finger inputs (e.g., finger contacts, single-finger tap gestures, finger swipe gestures), it should be understood that in some embodiments, one or more of these finger inputs are replaced by input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of contact), followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is optionally replaced by a mouse click when the cursor is over the location of the tap gesture (e.g., instead of detecting contact, followed by ceasing to detect contact). Similarly, when multiple user inputs are detected simultaneously, it should be understood that multiple computer mice are optionally used simultaneously, or a mouse and finger contact are optionally used simultaneously.

[0170] Figure 5A An exemplary personal electronic device 500 is shown. Device 500 includes a body 502. In some embodiments, device 500 may include a body 502 relative to devices 100 and 300 (e.g., Figures 1A to 4B ) some or all of the features described in the foregoing. In some embodiments, device 500 has a touch-sensitive display screen 504, referred to hereinafter as touch screen 504. As an alternative or in addition to touch screen 504, device 500 has a display and a touch-sensitive surface. As with devices 100 and 300, in some embodiments, touch screen 504 (or touch-sensitive surface) optionally includes one or more strength sensors for detecting the intensity of contact (e.g., touch) applied. One or more strength sensors of touch screen 504 (or touch-sensitive surface) can provide output data representing the intensity of touch. The user interface of device 500 can respond to touch based on the intensity of the touch, which means that touches of different intensities can invoke different user interface operations on device 500.

[0171] Exemplary techniques for detecting and processing touch intensity are found, for example, in the following related patent applications: International patent application serial number PCT / US2013 / 040061, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” filed on May 8, 2013, published as WIPO patent publication number WO / 2013 / 169849; and International patent application serial number PCT / US2013 / 069483, entitled “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” filed on November 11, 2013, published as WIPO patent publication number WO / 2014 / 105276, each of which is hereby incorporated by reference in its entirety.

[0172] In some embodiments, the device 500 has one or more input mechanisms 506 and 508. The input mechanisms 506 and 508 (if included) can be physical. Examples of physical input mechanisms include push buttons and rotatable mechanisms. In some embodiments, the device 500 has one or more attachment mechanisms. Such attachment mechanisms (if included) can allow the device 500 to be attached to, for example, hats, glasses, earrings, necklaces, shirts, jackets, bracelets, watchbands, bracelets, pants, belts, shoes, wallets, backpacks, etc. These attachment mechanisms allow the user to wear the device 500.

[0173] Figure 5B An exemplary personal electronic device 500 is depicted. In some embodiments, the device 500 may include a reference Figure 1A , Figure 1B and Figure 3Some or all of the components described. Device 500 has a bus 512 that operatively couples an I / O portion 514 to one or more computer processors 516 and a memory 518. I / O portion 514 may be connected to a display 504, which may have a touch-sensitive component 522 and optionally a strength sensor 524 (e.g., a contact strength sensor). In addition, I / O portion 514 may be connected to a communication unit 530 for receiving application and operating system data using Wi-Fi, Bluetooth, near field communication (NFC), cellular and / or other wireless communication technologies. Device 500 may include input mechanisms 506 and / or 508. For example, input mechanism 506 is optionally a rotatable input device or a depressible input device and a rotatable input device. In some examples, input mechanism 508 is optionally a button.

[0174] In some examples, input mechanism 508 is optionally a microphone. Personal electronic device 500 optionally includes various sensors, such as GPS sensor 532, accelerometer 534, orientation sensor 540 (e.g., compass), gyroscope 536, motion sensor 538, and / or combinations thereof, all of which are operably connected to I / O portion 514.

[0175] The memory 518 of the personal electronic device 500 may include one or more non-transitory computer-readable storage media for storing computer-executable instructions that, when executed by one or more computer processors 516, may cause the computer processors to perform the techniques described below, including processes 700 and 900 ( Figure 7 and Fig. 9 ). Computer-readable storage media can be any medium that can tangibly contain or store computer-executable instructions for use by or in conjunction with instruction execution systems, devices, and apparatuses. In some examples, the storage medium is a transient computer-readable storage medium. In some examples, the storage medium is a non-transitory computer-readable storage medium. Non-transitory computer-readable storage media may include, but are not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage devices include magnetic disks, optical disks based on CD, DVD, or Blu-ray technology, and persistent solid-state memories such as flash memory, solid-state drives, and the like. Personal electronic device 500 is not limited to Figure 5B components and configurations, but may include other components or additional components in a variety of configurations.

[0176] In addition, in the method described herein where one or more steps depend on one or more conditions being met, it should be understood that the method can be repeated in multiple repetitions so that in the process of repetition, all conditions for determining the steps in the method have been met in different repetitions of the method. For example, if the method needs to perform the first step (if the condition is met), and perform the second step (if the condition is not met), then the ordinary technician will know that the steps stated are repeated until both the condition is met and the condition is not met (in no particular order). Therefore, the method described as having one or more steps depending on one or more conditions being met can be rewritten as a method of repeating until each condition described in the method is met. However, this does not require the system or computer-readable medium to declare that the system or computer-readable medium contains instructions for performing a contingent operation based on the satisfaction of the corresponding one or more conditions, and is therefore able to determine whether the possible situation has been met without explicitly repeating the steps of the method until all conditions for determining the steps in the method have been met. It will also be understood by ordinary technicians in the art that, similar to the method with the contingent step, the system or computer-readable storage medium can repeat the steps of the method as many times as needed to ensure that all the contingent steps have been performed.

[0177] As used herein, the term "indicative representation" refers to an optional feature of the apparatus 100, 300, and / or 500 ( Figure 1A , Figure 3 and FIG. 5A to FIG. 5B ) is a user-interactive graphical user interface object displayed on a display screen of a computer. For example, an image (e.g., an icon), a button, and text (e.g., a hyperlink) optionally each constitute an affordance.

[0178] As used herein, the term "focus selector" refers to an input element used to indicate the current portion of a user interface that a user is interacting with. In some implementations that include a cursor or other position marker, the cursor acts as a "focus selector" such that when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), a focus selector is displayed on a touch-sensitive surface (e.g., Figure 3 Touchpad 355 or Figure 4B In the event that an input (e.g., a press input) is detected on the touch-sensitive surface 451 in the display, the particular user interface element is adjusted according to the detected input. In the case that a touch-screen display (e.g., Figure 1A A touch-sensitive display system 112 or Figure 4AIn some implementations of the touch screen 112 in FIG. 1 , a contact detected on the touch screen acts as a “focus selector” such that when an input (e.g., a press input by the contact) is detected at the location of a particular user interface element (e.g., a button, window, slider, or other user interface element) on the touch screen display, the particular user interface element is adjusted in accordance with the detected input. In some implementations, the focus moves from one area of ​​the user interface to another area of ​​the user interface without corresponding movement of a cursor or movement of the contact on the touch screen display (e.g., by using a tab key or arrow keys to move the focus from one button to another); in these implementations, the focus selector moves in accordance with the movement of the focus between different areas of the user interface. Regardless of the specific form the focus selector takes, the focus selector is typically a user interface element (or contact on the touch screen display) that is controlled by the user to deliver the user's intended interaction with the user interface (e.g., by indicating to the device the element of the user interface with which the user desires to interact). For example, when a press input is detected on a touch-sensitive surface (e.g., a touchpad or touchscreen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a corresponding button will indicate that the user intends to activate the corresponding button (rather than other user interface elements shown on the device display).

[0179] As used in the specification and claims, the term "characteristic intensity" of a contact refers to a characteristic of a contact based on one or more intensities of the contact. In some embodiments, the characteristic intensity is based on multiple intensity samples. The characteristic intensity is optionally based on a predefined number of intensity samples or a set of intensity samples collected during a predetermined time period (e.g., 0.05 seconds, 0.1 seconds, 0.2 seconds, 0.5 seconds, 1 second, 2 seconds, 5 seconds, 10 seconds) relative to a predefined event (e.g., after contact is detected, before contact is detected to be lifted off, before or after contact starts to move, before contact ends, before or after contact intensity is detected to increase, and / or before or after contact intensity is detected to decrease). The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of the intensity of the contact, the mean value of the intensity of the contact, the average value of the intensity of the contact, the value at the top 10% of the intensity of the contact, the half-maximum value of the intensity of the contact, the 90% maximum value of the intensity of the contact, etc. In some embodiments, the duration of the contact is used when determining the characteristic intensity (e.g., when the characteristic intensity is the average value of the intensity of the contact over time). In some embodiments, the feature strength is compared to a set of one or more strength thresholds to determine whether the user has performed an operation. For example, the set of one or more strength thresholds optionally includes a first strength threshold and a second strength threshold. In this example, a contact whose feature strength does not exceed the first threshold results in a first operation, a contact whose feature strength exceeds the first strength threshold but does not exceed the second strength threshold results in a second operation, and a contact whose feature strength exceeds the second threshold results in a third operation. In some embodiments, a comparison between the feature strength and one or more thresholds is used to determine whether to perform one or more operations (e.g., whether to perform the corresponding operation or to abandon the corresponding operation) rather than to determine whether to perform the first operation or the second operation.

[0180] Figure 5C Detecting multiple contacts 552A-552E on touch-sensitive display screen 504 using multiple intensity sensors 524A-524D is shown. Figure 5C Also included is an intensity graph that shows the current intensity measurements of intensity sensors 524A-524D relative to intensity units. In this example, the intensity measurements of intensity sensors 524A and 524D are each 9 intensity units, and the intensity measurements of intensity sensors 524B and 524C are each 7 intensity units. In some implementations, the cumulative intensity is the sum of the intensity measurements of multiple intensity sensors 524A-524D, which is 32 intensity units in this example. In some embodiments, each contact is assigned a corresponding intensity, which is a portion of the cumulative intensity. Figure 5DThe cumulative strength assigned to contacts 552A-552E based on their distance from the center of force 554 is shown. In this example, each of contacts 552A, 552B, and 552E is assigned a contact strength of 8 strength units of the cumulative strength, and each of contacts 552C and 552D is assigned a contact strength of 4 strength units of the cumulative strength. More generally, in some embodiments, each contact j is assigned a corresponding strength Ij, which is a portion of the cumulative strength A, according to a predefined mathematical function Ij=A·(Dj / ΣDi), where Dj is the distance of the corresponding contact j from the center of force, and ΣDi is the sum of the distances of all corresponding contacts (e.g., i=1 to the last) from the center of force. The reference may be performed using an electronic device similar to or equivalent to device 100, 300, or 500. FIG. 5C to FIG. 5D In some embodiments, the characteristic intensity of the contact is based on one or more intensities of the contact. In some embodiments, the intensity sensor is used to determine a single characteristic intensity (e.g., a single characteristic intensity of a single contact). It should be noted that the intensity map is not part of the displayed user interface, but is included in the FIG. 5C to FIG. 5D To assist the readers.

[0181] In some embodiments, a portion of a gesture is identified for determining characteristic strength. For example, the touch-sensitive surface optionally receives a continuous swipe contact that transitions from a starting position and reaches an end position, where the contact strength increases. In this example, the characteristic strength of the contact at the end position is optionally based only on a portion of the continuous swipe contact, rather than the entire swipe contact (e.g., only the portion of the swipe contact at the end position). In some embodiments, a smoothing algorithm is optionally applied to the strength of the swipe contact before determining the characteristic strength of the contact. For example, a smoothing algorithm optionally includes one or more of the following: an unweighted sliding average smoothing algorithm, a triangular smoothing algorithm, a median filter smoothing algorithm, and / or an exponential smoothing algorithm. In some cases, these smoothing algorithms eliminate narrow peaks or depressions in the strength of the swipe contact to achieve the purpose of determining the characteristic strength.

[0182] The intensity of contact on the touch-sensitive surface is optionally characterized relative to one or more intensity thresholds such as a contact detection intensity threshold, a light press intensity threshold, a deep press intensity threshold, and / or one or more other intensity thresholds. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform an operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device will perform an operation different from the operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, when a contact having a characteristic intensity lower than the light press intensity threshold (e.g., and higher than a nominal contact detection intensity threshold, contacts lower than the nominal contact detection intensity threshold are no longer detected) is detected, the device will move the focus selector according to the movement of the contact on the touch-sensitive surface without performing an operation associated with the light press intensity threshold or the deep press intensity threshold. Generally speaking, unless otherwise stated, these intensity thresholds are consistent between different groups of user interface illustrations.

[0183] An increase in contact feature intensity from an intensity below a light press intensity threshold to an intensity between the light press intensity threshold and the deep press intensity threshold is sometimes referred to as a "light press" input. An increase in contact feature intensity from an intensity below a deep press intensity threshold to an intensity above the deep press intensity threshold is sometimes referred to as a "deep press" input. An increase in contact feature intensity from an intensity below a contact detection intensity threshold to an intensity between the contact detection intensity threshold and the light press intensity threshold is sometimes referred to as detecting contact on the touch surface. A decrease in contact feature intensity from an intensity above the contact detection intensity threshold to an intensity below the contact detection intensity threshold is sometimes referred to as detecting contact lifted from the touch surface. In some embodiments, the contact detection intensity threshold is zero. In some embodiments, the contact detection intensity threshold is greater than zero.

[0184] In some embodiments described herein, one or more operations are performed in response to detecting a gesture that includes a corresponding press input or in response to detecting a corresponding press input performed using a corresponding contact (or multiple contacts), wherein the corresponding press input is detected at least in part based on detecting that the strength of the contact (or multiple contacts) increases to above a press input strength threshold. In some embodiments, the corresponding operation is performed in response to detecting that the strength of the corresponding contact increases to above the press input strength threshold (e.g., a "down stroke" of the corresponding press input). In some embodiments, the press input includes an increase in the strength of the corresponding contact to above the press input strength threshold and the strength of the contact subsequently decreases to below the press input strength threshold, and the corresponding operation is performed in response to detecting that the strength of the corresponding contact subsequently decreases to below the press input threshold (e.g., an "up stroke" of the corresponding press input).

[0185] FIG. 5E to FIG. 5HDetection of a gesture is shown, the gesture comprising contact 562 with an intensity from below Figure 5E The intensity of the light press intensity threshold (e.g., “ITL”) in Figure 5H A press input corresponding to an intensity exceeding a deep press intensity threshold (e.g., "ITD") in the predefined area 574. On a displayed user interface 570 including application icons 572A-572D displayed in a predefined area 574, a gesture performed using contact 562 is detected on the touch-sensitive surface 560 while a cursor 576 is displayed above application icon 572B corresponding to application 2. In some embodiments, the gesture is detected on the touch-sensitive display 504. The intensity sensor detects the intensity of the contact on the touch-sensitive surface 560. The device determines that the intensity of contact 562 peaks when it is above a deep press intensity threshold (e.g., "ITD"). Contact 562 is maintained on the touch-sensitive surface 560. In response to detecting the gesture, and in accordance with contact 562 increasing in intensity to above the deep press intensity threshold (e.g., "ITD") during the gesture, scaled representations 578A-578C (e.g., thumbnails) of documents recently opened for application 2 are displayed, such as FIG. 5F to FIG. 5H In some embodiments, the intensity is a characteristic intensity of the contact compared to one or more intensity thresholds. It should be noted that the intensity map for contact 562 is not part of the displayed user interface, but is included in the Figure 5E-Figure 5H To assist the readers.

[0186] In some embodiments, the display of representations 578A-578C includes animation. For example, representation 578A is initially displayed near application icon 572B, such as Fig. 5F As the animation progresses, representation 578A moves upward and representation 578B is displayed near application icon 572B, as shown in FIG. Figure 5G Then, representation 578A moves upward, 578B moves upward toward representation 578A, and representation 578C is displayed near application icon 572B, as shown in FIG. Figure 5H 578A-578C form an array above icon 572B. In some embodiments, the animation progresses according to the intensity of contact 562, such as Figure 5F to Figure 5G , where representations 578A-578C appear and move upward as the intensity of contact 562 increases toward a deep press intensity threshold (e.g., “ITD”). In some embodiments, the intensity according to which the animation progresses is a characteristic intensity of the contact. The reference animation may be performed using an electronic device similar to or equivalent to device 100, 300, or 500. FIG. 5E to FIG. 5H The operation described.

[0187] In some embodiments, the device employs intensity hysteresis to avoid unexpected inputs sometimes referred to as "jitter," where the device defines or selects a hysteresis intensity threshold that has a predefined relationship to a press input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units lower than the press input intensity threshold, or the hysteresis intensity threshold is 75%, 90%, or some reasonable proportion of the press input intensity threshold). Thus, in some embodiments, a press input includes an increase in the intensity of the corresponding contact to above the press input intensity threshold and a subsequent decrease in the intensity of the contact to below the hysteresis intensity threshold corresponding to the press input intensity threshold, and a corresponding operation is performed in response to detecting that the intensity of the corresponding contact subsequently decreases to below the hysteresis intensity threshold (e.g., an "upward stroke" of the corresponding press input). Similarly, in some embodiments, a press input is detected only when the device detects that the contact intensity increases from an intensity equal to or below the hysteresis intensity threshold to an intensity equal to or above the press input intensity threshold and, optionally, that the contact intensity subsequently decreases to an intensity equal to or below the hysteresis intensity, and a corresponding operation is performed in response to detecting the press input (e.g., an increase in contact intensity or a decrease in contact intensity, depending on the circumstances).

[0188] For ease of explanation, optionally, a description of an operation performed in response to a press input associated with a press input intensity threshold or in response to a gesture including a press input is triggered in response to detecting any of the following: contact intensity increasing to above the press input intensity threshold, contact intensity increasing from an intensity below a hysteresis intensity threshold to an intensity above the press input intensity threshold, contact intensity decreasing to below the press input intensity threshold, and / or contact intensity decreasing to below a hysteresis intensity threshold corresponding to the press input intensity threshold. Additionally, in examples where an operation is described as being performed in response to detecting that the intensity of the contact decreases below the press input intensity threshold, the operation is optionally performed in response to detecting that the intensity of the contact decreases below a hysteresis intensity threshold that corresponds to and is less than the press input intensity threshold.

[0189] As used herein, an "installed application" refers to a software application that has been downloaded to an electronic device (e.g., device 100, 300, and / or 500) and is ready to be launched (e.g., become open) on the device. In some embodiments, a downloaded application becomes an installed application using an installer that extracts program portions from a downloaded software package and integrates the extracted portions with the operating system of a computer system.

[0190] As used herein, the term "open application" or "executing application" refers to a software application that has maintained state information (e.g., as part of device / global internal state 157 and / or application internal state 192). An open or executing application is optionally any of the following types of applications:

[0191] ● the active application currently displayed on the display of the device on which the application is being used;

[0192] ● Background applications (or background processes) that are not currently displayed but for which one or more processes are being processed by one or more processors; and

[0193] ●Not running but has data stored in memory (volatile and non-volatile respectively)

[0194] A suspended or dormant application is retrieved and can be used to retrieve status information about the application's execution.

[0195] As used herein, the term "closed application" refers to a software application that does not have retained state information (e.g., the state information of a closed application is not stored in the memory of a device). Thus, closing an application includes stopping and / or removing the application's application process and removing the application's state information from the memory of a device. Generally speaking, while in a first application, opening a second application does not close the first application. When the second application is displayed and the first application stops being displayed, the first application becomes a background application.

[0196] Attention is now turned to embodiments of a user interface (“UI”) and associated processes implemented on an electronic device, such as device 100 , device 300 , or device 500 .

[0197] User interface and associated processes

[0198] User interface for composing and receiving messages

[0199] Users interact with electronic devices in many different ways, including using electronic devices to display and compose messages in a messaging session. The embodiments described below provide ways for electronic devices to display user interfaces for composing and displaying messages including multiple content items. Providing an efficient way to add content items to a messaging session and view such content items reduces the length of time required for a user to interact with the device, thereby extending the battery life of a battery-powered device. It should be understood that people use devices. When a person uses a device, the person is optionally referred to as a user of the device.

[0200] FIG. 6A to FIG. 6AJ Various ways in which an electronic device displays multiple content items in a messaging session according to some embodiments of the present disclosure are shown. The embodiments in these figures are used to illustrate the processes described below, including reference Figure 7 Although FIG. 6A to FIG. 6AJ An electronic device is shown capable of executing the following reference Figure 7Various examples of the manner of the process are described, but it should be understood that these examples are not meant to be limiting and the electronic device can be used with reference to FIG. 6A to FIG. 6AJ The following reference is not explicitly described in the following manner Figure 7 One or more of the processes described.

[0201] Fig. 6A An exemplary device 500a is shown including a touch screen 504a. Fig. 6A , electronic device 500a presents a messaging user interface 602a including a messaging session between user Bob (a user associated with device 500a) and a contact named Alice (indicated by representation 621a of Alice). Messaging user interface 602a includes a visual indication 607a of a first message added to the messaging session from a device associated with Bob, a visual indication 609a of a second message added to the messaging session from a device associated with Alice, and a visual indication 623a of a third message also added to the messaging session from a device associated with Alice. In some embodiments, visual indication 609a is displayed in messaging user interface 602a in response to device 500a receiving an indication that a device associated with Alice has added a message to the messaging session including the text “Yes, sending now…”. Similarly, in some embodiments, visual indication 623a is displayed in messaging user interface 602a in response to device 500a receiving an indication that a device associated with Alice has also added a message to the messaging session including two content items, such as photo 1 and photo 2. Visual indication 623a corresponds to a third message in the messaging conversation added by a device associated with Alice and includes representation 606a of photo 1 and representation 604a of photo 2.

[0202] In some embodiments, the visual indication of messages in a messaging session includes representations of content items included in the messages that partially overlap each other. Fig. 6A , in response to receiving an indication that a device associated with Alice added a third message to the messaging session, electronic device 500a displays a visual indication 623a of the message, wherein a representation 606a of photo 1 (corresponding to photo 1 included in the third message) and a representation 604a of photo 2 (corresponding to photo 2 included in the third message) partially overlap each other. As will be described in detail later, in some embodiments, the visual indications of the corresponding messages in the messaging session optionally include representations of content items (e.g., photos) included in those corresponding messages displayed in a stack.

[0203] Similar to Fig. 6A Example of illustrating, Figure 6BAnother exemplary scenario is shown in which device 500a displays representations of content items that partially overlap each other. Figure 6B , device 500a receives an indication that a device associated with Alice has added a corresponding message to a messaging session that includes three photos (photo 1, photo 2, and photo 3). In response to receiving the indication that a device associated with Alice has added a corresponding message to the messaging session, device 500a displays a visual indication 605a corresponding to the corresponding message. Visual indication 605a includes a representation 606a of photo 1 (corresponding to photo 1 included in the corresponding message), a representation 604a of photo 2 (corresponding to photo 2 included in the corresponding message), and a representation 608a of photo 3 (corresponding to photo 3 included in the corresponding message). Figure 6B , representations 604a-608a are displayed as partially overlapping each other. In some embodiments, when corresponding messages in the messaging session include at most three content items, the representations of the corresponding content items (e.g., photos, videos, etc.) are displayed as partially overlapping each other. As will be described in detail later, in some embodiments, when the number of content items in the corresponding messages includes four or more content items, the visual indication of the corresponding messages in the messaging session optionally displays the representations of the content items as stacked.

[0204] In some embodiments, representations of content items are displayed in different ways (e.g., spatial layouts) based on whether the electronic device is displaying a user interface for composing a new message. Figure 6C , when device 500a is not displaying a user interface for composing a new message and when representations 604a-608a are displayed in the manner described above, device 500a receives a request to display a user interface for composing a new message (indicated by selection of text input field 625a by touch contacts 601a-c). In response to receiving the request to display a user interface for composing a new message, Fig.6D In some embodiments, the device 500a updates the messaging user interface 602a to include a soft keyboard and optional options 610a for composing a new message. In some embodiments, the content of the new message being composed is visually indicated in the text input field 625a. For example, in some embodiments, when the electronic device 500a detects one or more inputs of the selection of one or more characters pointing to the soft keyboard, the selected one or more characters are indicated in real time in the text input field 625a. In addition, in some embodiments, the optional option 610a can be selected so that the electronic device 500a updates the messaging user interface 602a to include multiple representations of photos, which, when selected, cause those selected photos to be added to the new message being composed in the messaging user interface 602a, as will be described and shown in detail later.

[0205] In addition, in response to device 500a receiving a request to display a user interface for composing a new message, device 500a displays multiple selectable options (indicated by the content displayed in text input field 625a) for adding rich content to the message currently being composed in messaging user interface 602a, including a selectable option for adding content associated with one or more applications available for download on device 500a (indicated by a selectable option with the label “App Store”), a selectable option for adding information about songs recently played on device 500a (indicated by a selectable option with the label “Music”), and a selectable option for adding one or more graphic icons (indicated by a selectable option with the label “Emoji”).

[0206] In addition, if Fig.6D As shown in , in response to device 500a receiving a request to display a user interface for composing a new message, device 500a continues to display visual indications 607a and 609a of corresponding messages in the messaging conversation at the same location in messaging user interface 602a before the input for displaying the user interface for composing a new message is detected by device 500a. Figure 6B ). However, instead, device 500a modifies the display of representations 604a-608a of the corresponding photos so that when device 500a updates messaging user interface 602a to include additional user interface elements for composing a new message (e.g., a soft keyboard and selectable options for adding rich content to the new message being composed in messaging user interface 602a), the positions of visual indications 607a and 609a in messaging user interface 602a remain the same. Specifically, as Fig.6D As shown in FIG. 5 , device 500 a modifies the positions of representations 604 a - 608 a at visual indication 605 a so that representations 604 a - 608 a overlap at different positions (with Figure 6C In some embodiments, in addition to device 500a modifying the positions at which representations 604a-608a overlap one another, when device 500a receives a request to display a user interface for composing a new message, device 500a also adjusts the sizes of representations 604a-608a at visual indication 605a. As a result of device 500 adjusting the positions of representations 604a-608a to be displayed closer together, when device 500a is displaying a user interface for composing a new message (e.g., Fig.6D ) and when the device 500 does not display a user interface for composing a new message (as shown in Figure 6CIn some embodiments, in response to device 500a displaying a user interface for composing a new message, device 500a optionally moves visual indications 607a and 609a upward in messaging user interface 602a, but the amount by which visual indications 607a and 609a move is less than the amount by which the visual indications would move if the positions of representations 604a-608a did not change.

[0207] As previously mentioned, in some embodiments, one or more content items can optionally be added to a new message being composed. Fig. 6E , device 500b associated with user Alice is displaying a messaging user interface 602b that includes a messaging conversation between Alice (the user associated with device 500b) and Bob (indicated by Bob's representation 627b). Messaging user interface 602b is similar to messaging user interface 602a described previously. Fig. 6F , device 500b receives a request to display a plurality of photos that can be included in a new message being composed (represented by selection of selectable option 610b by touch contacts 601b-f). Figure 6G In response to receiving Fig. 6F , device 500b updates messaging user interface 602b to include representation 612-1b of photo 1, representation 612-2b of photo 2, representation 612-3b of photo 3, representation 612-4b of photo 4, representation 612-5b of photo 5, and representation 612-6b of photo 6. In some embodiments, photos corresponding to representations 612-1b through 612-6b are selected for display in messaging user interface 602b because the photos are currently accessible to device 500b via a photo application currently downloaded on device 500b.

[0208] In some embodiments, device 500b may assign respective priorities (e.g., respective orders) to photos added to a new message currently being composed, such that when the message is added (e.g., sent) to the messaging conversation, a visual indication of the message is displayed (e.g., sorted) according to the assigned priorities (e.g., the photos are displayed according to the order defined by the message while it is being composed). Figure 6H , device 500b receives a request to add Photo 1 to a new message currently being composed (indicated by touch contact 601b-h selecting representation 612-1b of Photo 1). In response to device 500b detecting Figure 6H The choice in Fig.6I, Photo 1 is added to the new message being composed in messaging user interface 602b (indicated by device 500b displaying representation 613-1b of Photo 1 in text input field 625b). In addition, device 500b displays indication 629-1b indicating that Photo 1 is currently assigned the highest priority (e.g., ranked first) in the message being composed in messaging user interface 602b (e.g., once a new message is added to the messaging conversation, the visual indication corresponding to the new message will include a representation of Photo 1 that will be visually more prominent than photos assigned lower priorities (e.g., more prominent than photos ranked after Photo 1), but visually more understated relative to the high priority photos (e.g., more understated than photos ranked before Photo 1)).

[0209] After adding Photo 1 to the new message being composed in the messaging user interface 602b, Fig.6I , device 500b also detects a request to add Photo 5 to the new message being composed (indicated by touch contact 601b-i selecting representation 612-5b of Photo 5). Fig.6I The choice in Figure 6J , Photo 5 is added to the new message being composed (indicated by device 500b displaying representation 613-2b of Photo 5 in text input field 625b). Additionally, device 500b displays indication 629-5b indicating that Photo 5 is currently assigned the second highest priority (e.g., ranked second) in the message being composed (e.g., once a new message is added to the messaging conversation, the visual indication corresponding to the new message will include a representation of Photo 5 that will be visually more prominent than photos assigned lower priorities (e.g., more prominent than photos ranked after Photo 5), but visually more understated relative to the higher priority photos (e.g., more understated than photos ranked before Photo 5)).

[0210] After adding photos 1 and 5 to the new message being composed in the messaging user interface 602b, Figure 6K , device 500b also detects a request to add Photo 3 to the new message being composed (indicated by touch contact 601b-k selecting representation 612-3b of Photo 3). Figure 6K The choice in Figure 6L, Photo 3 is added to the new message being composed in messaging user interface 602b (indicated by device 500b displaying representation 613-3b of Photo 3 in text input field 625b). Additionally, device 500b displays indication 629-3b indicating that Photo 3 is currently assigned the third highest priority (e.g., ranked third) in the new message being composed (e.g., once the new message is added to the messaging conversation, the visual indication corresponding to the new message will include a representation of Photo 3 that will be visually more prominent than photos assigned lower priorities (e.g., more prominent than photos ranked after Photo 3), but visually more understated relative to the higher priority photos (e.g., more understated than photos ranked before Photo 3)).

[0211] After adding photos 1, 5, and 3 to the new message being composed in the messaging user interface 602b, Figure 6M , device 500b also detects a request to add photo 4 to the new message being composed (indicated by touch contact 601b-m selecting representation 612-4b of photo 4). Figure 6M The choice in Figure 6N , Photo 4 is added to the new message currently being composed in messaging user interface 602b (indicated by device 500b displaying representation 613-4b of Photo 4 in text input field 625b). In addition, device 500b displays indication 629-4b indicating that Photo 4 is currently assigned the fourth highest priority (e.g., ranked fourth) in the message being composed in messaging user interface 602b (e.g., once the new message is added to the messaging conversation, the visual indication corresponding to the new message will include a representation of Photo 4 that will be visually more prominent than photos assigned lower priorities (e.g., more prominent than photos ranked after Photo 4), but visually more understated relative to the high priority photos (e.g., more understated than photos ranked before Photo 4)).

[0212] In addition, Figure 6N , after adding photos 1, 5, 3, and 4 to the new message being composed in messaging user interface 602b, device 500b also detects a request to add photo 2 to the new message being composed (indicated by touch contacts 601b-n selecting representation 612-2b of photo 2). Figure 6N The choice in Fig.6O, Photo 2 is added to the new message being composed in messaging user interface 602b (indicated by device 500b displaying representation 613-5b of Photo 2 in text input field 625b). In addition, device 500b displays indication 629-2b indicating that Photo 2 is currently assigned the fifth highest priority (e.g., ranked fifth) in the message being composed in messaging user interface 602b (e.g., once the new message is added to the messaging conversation, the visual indication corresponding to the new message will include a representation of Photo 2 that will be visually more prominent than photos assigned lower priorities (e.g., more prominent than photos ranked after Photo 2), but visually more understated relative to high priority photos (e.g., more understated than photos ranked before Photo 2)).

[0213] In some embodiments, the priority assigned to photos included in a new message currently being composed can optionally be reassigned (e.g., the order of the photos assigned to the message can be changed). Figure 6P , device 500b receives a request to move representation 613-5b to the current position of representation 613-4b of photo 4 in text input field 625b (indicated by touch contact 601b-p moving representation 613-5b of photo 4 to the left). Figure 6P In the request, Figure 6Q , device 500b rearranges (e.g., reorders) representation 613-5b of photo 2 and representation 613-4b of photo 4 so that the new position of representation 613-5b of photo 2 corresponds to the previous position of representation 613-4b of photo 4 in text input field 625b, and the new position of representation 613-4b of photo 4 corresponds to the previous position of representation 613-5b of photo 2 in text input field 625b. The priorities (e.g., order) assigned to photos 2 and 4 are also updated according to their new positions in text input field 625b (e.g., in their new order). Specifically, indication 629-2b is updated to indicate that photo 2 is currently assigned the fourth highest priority (e.g., is ordered as fourth) in the new message being composed in messaging user interface 602b, and indication 629-4b is updated to indicate that photo 4 is currently assigned the fifth highest priority (e.g., is ordered as fifth) in the message being composed in messaging user interface 602b.

[0214] In some embodiments, the photo can be removed from a new message being composed in the messaging user interface 602b. Figure 6R, device 500b detects a first selection of representation 612-3b of photo 3 (indicated by touch contact 601b-r tapping representation 612-3b of photo 3) while photo 3 is currently included in a new message being composed in messaging user interface 602b (indicated by representation 613-3b of photo 3 displayed in text input field 625b). Figure 6S In response to device 500b detecting the Figure 6R 3, device 500b updates the visual appearance of indication 629-3b to indicate that photo 3 is still included in the new message being composed in messaging user interface 602b, and indicates that another selection of representation 612-3b of photo 3 will result in photo 3 no longer being included in the new message being composed in messaging user interface 602b.

[0215] In addition, Figure 6S , device 500b detects a second selection of representation 612-3b of Photo 3 (indicated by touch contact 601b-s tapping representation 612-3b of Photo 3). Figure 6T , in response to device 500b detecting the second selection of representation 612-3b of photo 3, device 500b removes photo 3 from the message being composed in messaging user interface 602b (indicated by indication 629-3b no longer displayed at representation 612-3b of photo 3 and by representation 613-3b of photo 3 also no longer displayed in text input field 625b). The priorities (e.g., order) of the photos currently included in the new message being composed are also updated because photo 3 is no longer included in the new message. Specifically, device 500b updates the priority of photo 2 in the new message from being assigned the fourth highest priority to being assigned the third highest priority (e.g., changing from being ranked fourth to being ranked third in the message) (indicated by indication 629-2b). Similarly, device 500b updates the priority of photo 4 in the new message from being assigned the fifth highest priority to being assigned the fourth highest priority (e.g., changing from being ranked fifth to being ranked fourth in the message) (indicated by indication 629-4b).

[0216] exist Figure 6U , after photos 1, 2, 4, and 5 are added to the new message, device 500b detects a request to transmit the composed message to the messaging session (indicated by touch contact 601b-u selecting a selectable option displayed in text input field 625b). In response to device 500b detecting the request, device 500b adds the newly composed message to the messaging session. In some embodiments, when the electronic device adds a message to the messaging session, devices associated with other users in the messaging session receive indications of the new message that has been added to the messaging session. For example, in Figure 6V , after device 500b (a device associated with Alice) adds the composed message to the messaging session, device 500a (associated with user Bob) receives an indication of a new message added to the messaging session by a device associated with Alice (e.g., device 500b). In response to receiving the indication, device 500a updates messaging user interface 602a to include a new message corresponding to the new message added to the messaging session (e.g., regarding Figure 6U 616a of the message composed and transmitted as shown and described.

[0217] The visual indication 616a includes a stack of content items. The stack of content items includes a representation 614a-1 of photo 1 (corresponding to photo 1 included in the new message and added to the messaging session), a representation 614a-2 of photo 5 (corresponding to photo 5 included in the new message and added to the messaging session), a representation 614a-3 of photo 2 (corresponding to photo 2 included in the new message and added to the messaging session), and a representation 614a-4 of photo 4 (corresponding to photo 4 included in the new message and added to the messaging session). In some embodiments, the visual indication of the corresponding messages in the messaging session includes a stack of content items because the corresponding corresponding messages include at least four content items (e.g., at least four photos).

[0218] Representation 614a-1 of photo 1 is being displayed at the top of the stack (e.g., first position in the stack) because photo 1 was assigned the highest priority (e.g., was ranked first) when the message corresponding to visual indication 616a was composed (e.g., indicated by Figure 6U Similarly, representation 614a-2 of photo 5 is being displayed in the second position in the stack because photo 5 was assigned the second highest priority (e.g., was ranked second) when the message corresponding to visual indication 616a was composed (indicated by Figure 6U Similarly, representation 614a-3 of photo 2 is being displayed in the third position in the stack because photo 2 was assigned the third highest priority (e.g., was ranked third) when the message corresponding to visual indication 616a was composed (indicated by indication 629-5b in FIG. 1 ). Figure 6U Similarly, representation 614a-4 of photo 4 is being displayed in the bottom (e.g., last) position in the stack because photo 4 was assigned the fourth highest priority (e.g., was ranked fourth) when the message corresponding to visual indication 616a was composed (indicated by Figure 6U Instructions 629-4b in the instructions).

[0219] like Figure 6W, visual indication 616a also includes indication 620a indicating the number and type of content items included in the stack (4 photos). As will be described in detail with respect to method 900, indication 620a is selectable and, when selected, causes electronic device 500a to display corresponding photos corresponding to representations 614a-1 to 614a-4 in a grid (e.g., arranged in rows and / or columns). In addition, as will be described in detail below, device 500a also displays selectable option 618a, which, when selected, causes electronic device 500a to initiate a process of saving corresponding photos corresponding to representations 614a-1 to 614a-4 to electronic device 500a.

[0220] In some embodiments, device 500a detects one or more inputs for changing the content item displayed at the top of the stack (e.g., by cycling through the stack of content items). Figure 6W , while representation 614a-1 of photo 1 is being displayed at the top of the stack (e.g., the first position in the stack), device 500a detects a request to display a content item currently at a second position in the stack (e.g., representation 614a-2 of photo 2) at the top of the stack, indicated by a left swipe of touch contact 601a-w over the stack and / or representation 614a-1. Figure 6X In response to device 500a receiving Figure 6W , device 500a switches the representation displayed at the top of the stack from representation 614a-1 of photo 1 to representation 614a-2 of photo 5. Similarly, because representation 614a-2 of photo 5 is moved from the second position in the stack to the first position in the stack, the positions of the other content items in the stack are also rearranged accordingly. Specifically, device 500a rearranges the content items in the stack so that representation 614a-3 of photo 2 is now displayed at the second position in the stack (initially located at the third position in the stack, as shown in FIG. 1 ). Figure 6W ), the representation 614a-4 of Photo 4 is now displayed in the second position in the stack (initially located in the fourth position in the stack, as described with respect to Figure 6W and shown), and representation 614a-1 of Photo 1 is displayed at the bottom of the stack (initially located at the first position in the stack, as described with respect to Figure 6W It should be understood that device 500b can also detect one or more swipes in the right direction toward the stack, which in some embodiments causes device 500a to similarly display the content item corresponding to the last position in the stack to become displayed in the first position in the stack, and similarly move the positions of the remaining content items in the stack.

[0221] In some embodiments, the stack of content items is configured to accept a long swipe input, and when detected, the stack is optionally updated in real time based on the long swipe input. Figure 6Y , when the representation of 614a-2 is displayed at the top of the stack, device 500a detects touchdown of touch contact 601a-y on touch screen 504a (e.g., on the stack) and detects that touch contact 601a-y has swiped a first amount in the left direction. In response to device 500a detecting Figure 6Y Swipe in Figure 6Z , device 500a changes the representation displayed at the top of the stack from representation 614a-2 of photo 5 to representation 614a-3 of photo 2 (previously located at the second position in the stack, as shown in FIG. 5 ). Figure 6Y Similarly, because the representation 614a-3 of Photo 2 is moved from the second position in the stack to the top of the stack, the positions of the other content items in the stack are also rearranged accordingly. Specifically, device 500a rearranges the content items in the stack so that the representation 614a-4 of Photo 4 is now displayed in the second position in the stack (previously located in the third position in the stack, as shown in FIG. Figure 6Y ), the representation 614a-1 of Photo 1 is now displayed in the third position in the stack (previously in the fourth position in the stack, as shown in FIG. Figure 6Y ), and representation 614a-2 of photo 5 is now displayed in the fourth (e.g., last) position in the stack (previously in the first position in the stack, as shown in FIG. 1 ). Figure 6Y ) as described and shown in .

[0222] After device 500b updates the position of the content item in the stack, device 500b detects touch contact 601b-y at Figure 6Z Additional (e.g., continued) movement in the left direction (e.g., Figure 6Y and Figure 6Z The contact between them is not off the ground). Figure 6AA In response to device 500a detecting touch contacts 601b-y at Figure 6Z Continuing to move in, device 500a again updates the representation displayed at the first position in the stack from representation 614a-2 of photo 2 to representation 614a-4 of photo 4 (previously located at the second position in the stack, as shown in FIG. 1 ). Figure 6Z Similarly, because representation 614a-4 of photo 4 is moved from the second position in the stack to the first position in the stack, the positions of other content items in the stack are also rearranged accordingly. Specifically, device 500a rearranges the content items in the stack so that representation 614a-1 of photo 1 is now displayed in the second position in the stack (initially located in the third position in the stack, as shown in FIG. Figure 6Z ), the representation 614a-2 of Photo 5 is now displayed in the third position in the stack (previously in the fourth position in the stack, as shown in FIG. Figure 6Z), and representation 614a-3 of photo 2 is now displayed in the fourth position of the stack (previously in the first position of the stack, as shown in FIG. Figure 6Z described and shown).

[0223] In some embodiments, when the electronic device displays the corresponding messaging conversation after having previously exited the messaging conversation, the representations included in the stack are displayed according to the priorities (e.g., the initial order) initially assigned to the corresponding content items (e.g., the order assigned to the content items when the corresponding message was being composed). Figure 6AB , after device 500a detects a sequence of inputs that change the positions of representations 614a-1 through 614a-4 in the stack, device 500a detects a request to stop displaying the messaging session (indicated by touch contacts 601b-bb selecting a selectable option labeled “Back”). In some embodiments, in response to detecting Figure 6AB Based on the input in , electronic device 500a displays in messaging user interface 602a one or more representations of messaging sessions of which a user of device 500a (Bob) is a part (e.g., messaging sessions to which device 500a has access rights), including a representation of a messaging session between user Bob and contact Alice. Figure 6AC , after device 500a receives a request to exit the messaging session, device 500a receives one or more inputs for redisplaying the messaging session between the contact named Alice and user Bob in messaging user interface 602. Figure 6AC , indicating that 614a-1 to 614a-4 are no longer shown in Figure 6AB 614a-1 through 614a-4 are displayed in a stack according to the priorities (e.g., order) assigned when the messages corresponding to visual indication 616a were composed and added to the messaging conversation (as previously described).

[0224] In some embodiments, the electronic device optionally receives an indication of a message that has recently been added to the messaging conversation while the content item of the message is still being uploaded to the corresponding server. Figure 6AD, device 500a receives an indication of a new message that has been added to the messaging session. In response to receiving the indication, device 500a updates messaging user interface 602a to include a visual indication 616a corresponding to the new message added to the messaging session. Visual indication 616a includes a stack of content items because the message corresponding to visual indication 616a includes four photos: photo 1, photo 2, photo 4, and photo 5 (e.g., content items). The stack of content items includes representation 614a-1 of photo 1 (corresponding to photo 1 added to the messaging session in the corresponding message), representation 614a-2 of photo 5 (corresponding to photo 5 added to the messaging session in the corresponding message), representation 614a-3 of photo 2 (corresponding to photo 2 added to the messaging session in the corresponding message), and representation 614a-4 of photo 4 (corresponding to photo 4 added to the messaging session in the corresponding message). As indicated by indication 620a, three of the content items in the corresponding message (Photo 5, Photo 2, and Photo 4) are still being uploaded to the server, and these photos are not available for download to (e.g., displayed by) device 500a. In some embodiments, representations corresponding to content items that are currently not displayable by device 500a include placeholder images, while representations of content items that are available for display at device 500a include indications of the corresponding content, such as Figure 6AD For example, representation 614a-4 of photo 4 (corresponding to photo 4 in the corresponding message), representation 614a-3 of photo 2 (corresponding to photo 2 in the corresponding message), and representation 614a-2 of photo 5 (corresponding to photo 5 in the corresponding message) are displayed with placeholder images because the content items corresponding to these representations are not currently available for download by device 500a. In contrast, representation 614a-1 of photo 1 (corresponding to photo 1 in the corresponding message) is displayed with a visual appearance indicating the content of photo 1.

[0225] As previously described, in some embodiments, the messaging user interface 618a includes a selectable option for saving one or more content items corresponding to the representation included in the visual indication of the corresponding message. Figure 6AE, device 500a is displaying selectable object 618a, which, when selected, causes device 500a to initiate a process of saving corresponding photos corresponding to representations 614a-1 to 614a-4 to electronic device 500a. In some embodiments, selectable option 618a is displayed in the messaging user interface because device 500a (or a server in communication with device 500a) determines that the user of device 500a (Bob) is likely to download photos (photo 1, photo 2, photo 4, and photo 5) corresponding to representations 614a-1 to 614a-4. In some embodiments, when device 500a (or a server in communication with device 500a) determines that the user of device 500a is unlikely to save / download content items corresponding to representations 614a-1 to 614a-4, and / or because the content items corresponding to representations 614a-1 to 614a-4 have a specific content type (e.g., cannot be saved to device 500a), device 500a does not display selectable option 618a in messaging user interface 602b. exist Figure 6AF In response to receiving Figure 6AE In response to the request in the messaging user interface 602a, device 500a displays a menu including a selectable option 622a, which, when selected, causes device 500a to save photos (Photo 1, Photo 2, Photo 4, and Photo 5) corresponding to representations 614a-1 to 614a-4 to device 500a. In some embodiments, device 500a saves the content item to a specific application downloaded on device 500a, such as a photo application and / or a video application. The menu displayed by device 500a also includes a selectable option 624a, which, when selected, causes the menu to stop being displayed in messaging user interface 602a without saving photos corresponding to representations 614a-1 to 614a-4 to device 500a. Figure 6AG , while device 500a is displaying selectable options 622a and 624a, device 500a detects selection of selectable option 622a (indicated by touch contact 610a-gg tapping selectable option 622a). Figure 6AH In response to detecting Figure 6AG , device 500a saves the photos corresponding to representations 614a-1 to 614a-4 to device 500a (indicated by device 500a updating indication 620a from indicating the number of content items included at visual indication 616a (4 photos) to indicating the number of content items saved in visual indication 616a (4 photos saved)).

[0226] As previously described, in some embodiments, selectable option 620a may be selected to display a representation of the content items in a grid at visual indication 616a. Figure 6AIIn the method 900, the device 500a detects the selection of the indication 620a (by the touch contact 601a-gg tapping the indication 620a). The characteristics of the indication 620a will be described in more detail with reference to the method 900. Figure 6AJ In response to device 500a receiving Figure 6AI In response to the request in the message corresponding to visual indication 616a, device 500a displays representation 648-1 of photo 1 (corresponding to photo 1 included in the message corresponding to visual indication 616a), representation 648-2 of photo 5 (corresponding to photo 5 included in the message corresponding to visual indication 616a), representation 648-3 of photo 2 (corresponding to photo 2 included in the message corresponding to visual indication 616a), and representation 648-4 of photo 4 (corresponding to photo 4 included in the message corresponding to visual indication 616a) in a grid layout. The operation of selectable options 644a, 646a, 654a, 656a, and 658a will be described in detail with reference to method 900.

[0227] Figure 7 700 is a flowchart illustrating a method of displaying multiple content items in a messaging conversation according to some embodiments. Method 700 is optionally performed at an electronic device such as device 100, device 300, device 500, device 500a, or device 500b, as described above with reference to Figure 1A to Figure 1B , Figures 2 to 3 , FIG. 4A to FIG. 4B and FIG. 5A to FIG. 5H Some operations in method 700 are optionally combined, and / or the order of some operations is optionally changed.

[0228] As described below, according to some embodiments, method 700 provides a way for an electronic device to display multiple content items in a messaging conversation. The method reduces the cognitive burden on a user when interacting with the device user interface of the present disclosure, thereby creating a more efficient human-computer interface. For battery-powered electronic devices, improving the efficiency of user interaction with the user interface saves power and increases the time between battery charges.

[0229] In some embodiments, method 700 is performed at an electronic device that communicates with a display generation component and one or more input devices (e.g., a mobile device (e.g., a tablet device, a smart phone, a media player, or a wearable device), a computer (e.g., a desktop computer, a laptop computer), or a wearable device (e.g., a watch, a head-mounted device), optionally in communication with one or more of a mouse (e.g., external), a trackpad (optionally integrated or external), a remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), a handheld device (e.g., external), and / or a controller (e.g., external, etc.), or a set-top box that communicates with one or more input devices (e.g., a remote control). In some embodiments, the display generation component is a display (optionally a touch screen display) integrated with the electronic device, an external display such as a monitor, a projector, a television, or a hardware component (optionally integrated or external) for projecting a user interface or making a user interface visible to one or more users, etc.

[0230] In some embodiments, the electronic device displays (702) via a display generation component a messaging user interface that includes a messaging session associated with multiple users (e.g., the electronic device and the electronic devices associated with the multiple users have access rights to the messaging session). In some embodiments, the messaging session includes messages sent from the electronic device and messages sent from electronic devices associated with the multiple users. In some embodiments, messages sent from the electronic device (e.g., from a user account associated with the electronic device) are displayed on a first side (e.g., right side) of the messaging session, while messages sent from different electronic devices (e.g., from user accounts associated with different electronic devices) are displayed on a second side (e.g., left side) of the messaging session.

[0231] In some embodiments, while displaying a messaging user interface, the electronic device receives (704) an indication of a first messaging activity pointing to a messaging session from a corresponding user among multiple users (e.g., the electronic device receives an indication that a device associated with the corresponding user has added a message to the messaging session. The corresponding user is optionally a user associated with the electronic device or a user associated with another device that is part of the messaging session), such as device 500 receiving an indication that a device associated with user Alice has added a message to a message including: Fig. 6AIn some embodiments, the electronic device receives an indication of a messaging session of two photos (photo 1 and photo 2) described in , wherein the first messaging activity includes multiple content items added to the messaging session (e.g., the messages added to the messaging session include photos, videos, and / or other types of media items). In some embodiments, when an electronic device associated with the corresponding user detects a sequence of one or more inputs for transmitting (e.g., adding) messages to the messaging session, the electronic device receives an indication of the first messaging activity. In some embodiments, the indication of the first messaging activity includes text and / or content items, such as videos, photos, and / or other types of media items (e.g., gifs, jpegs, etc.) that the corresponding user has added to the messaging session. In some embodiments, the corresponding user that causes the first messaging activity is a user of the electronic device. In some embodiments, the corresponding user that causes the first messaging activity is a user of a different electronic device. In some embodiments, when a device associated with the corresponding user detects input pointing to a (e.g., soft) keyboard (e.g., displayed in a messaging user interface), the text is included in the first messaging activity. In some embodiments, when a device associated with a respective user receives an input sequence for adding one or more content items (e.g., photos, videos, and / or other types of media items) to a first messaging campaign, the content items are included in the first messaging campaign. In some embodiments, the content items are of the same type (e.g., only photos). Alternatively, in some embodiments, the content items are of different types (e.g., including photos and videos).

[0232] In some embodiments, in response to receiving an indication of a first messaging activity, the electronic device displays (706) (e.g., at a corresponding location) in a messaging user interface a first visual indication of the first messaging activity that includes representations of a plurality of content items, such as device 500a displaying Fig. 6A In some embodiments, the electronic device receives an indication that the corresponding user has added the plurality of content items to the messaging session. In some embodiments, in response to the electronic device receiving an indication of a first messaging activity, the electronic device visually indicates (e.g., displays) the plurality of content items included in the first messaging activity. In some embodiments, displaying the first visual indication includes indicating a user associated with the device that added the plurality of content items to the messaging session and a representation of the content items added to the messaging session.

[0233] In some embodiments, based on determining that the first messaging activity satisfies one or more criteria (e.g., if the content items included in the first messaging activity exceed a corresponding threshold number of content items (e.g., 4, 8, 12 content items)). In some embodiments, the one or more criteria are independent of the corresponding user or the device associated with the corresponding user that caused the first messaging activity to be added to the messaging session, and representations of the plurality of content items are displayed in a first manner (e.g., at a corresponding location) (708). For example, if the message corresponding to visual indication 623a includes four or more content items, the representations of those content items will be displayed as stacked, similar to Figure 6V In some embodiments, displaying the content items according to the first manner includes displaying the content items in a first visual appearance (e.g., a first color). In some embodiments, displaying the content items according to the first manner includes displaying a plurality of content items in a stack such that each item in the stack corresponds to one of the content items (e.g., the content items are displayed as a collection of items in a single user interface element). In some embodiments, the stack of content items displays one content item at a time (e.g., visually emphasizing one content item while visually deemphasizing other content items in the stack), and input directed to the stack of content items causes the stack to display (e.g., visually emphasize) a new content item in the stack.

[0234] In some embodiments, based on determining that the first messaging campaign does not meet one or more criteria (e.g., if the content items included in the first messaging campaign do not exceed a corresponding threshold number of content items (e.g., 4, 8, 12 content items)), representations of the plurality of content items are displayed in a second manner different from the first manner (e.g., at a corresponding position) (710), such as in Fig. 6A In some embodiments, displaying content items according to a second manner includes displaying content items in a second visual appearance (e.g., a second color). In some embodiments, displaying content items according to a second manner includes displaying content items in a predetermined (e.g., spatial) layout that is different from the stacking of the above-mentioned content items. For example, content items are displayed within a first visual indication so that at least one content item partially covers another content item (e.g., covers an edge (or corner) of another content item).

[0235] The above-mentioned method of displaying the content of the first message in a first manner or a second manner based on one or more criteria provides an efficient way to display content items in a message differently based on the criteria met, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0236] In some embodiments, the one or more criteria include criteria that are satisfied based on the number of content items included in the first messaging campaign (e.g., including at least 4, 8, 12, 16 content items). Figure 6V If the messages in the message conversation in do not include four content items, device 500a will not display representations of those content items in a stack in messaging user interface 602. Similarly, if Figure 6V As shown in , when a message added to a messaging session includes four or more content items, device 500a displays representations of those content items in a stack. For example, if the number of content items included in the first messaging activity is at least four content items, displaying a first visual indication of the first messaging activity includes displaying the plurality of content items in a first manner (e.g., with a first visual appearance or in a stack of content items as previously described). Similarly, if the number of content items included in the first messaging activity is not greater than a corresponding number of content items (e.g., at least 4, 8, 12, 16 content items), displaying the first visual indication of the first messaging activity includes displaying the plurality of content items in a second manner (e.g., with a second visual appearance or according to a spatial layout in which each representation of a content item at least partially covers another representation of another content item (e.g., but does not cover two content items)).

[0237] The above-mentioned method of displaying the content items included in the first messaging activity in a first manner or a second manner based on the satisfied criteria provides an efficient method of displaying the content items included in the first messaging activity differently based on the number of content items included in the first messaging activity, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0238] In some embodiments, displaying representations of the plurality of content items in a second manner includes displaying representations of the plurality of content items in a first spatial layout, such as Figure 6B, and the representations of photos 1, 2, and 3 overlapping each other as shown in . For example, content items at corresponding positions in the messaging user interface are displayed according to the first spatial layout. In some embodiments, the first spatial layout defines the (e.g., display) size, aspect ratio, etc. of each content item in the messaging user interface and the position of each content item at the corresponding position. In some embodiments, displaying multiple content items according to the first spatial layout includes displaying representations of the content items at a first size and at positions at corresponding positions, so that the representations of the content items at least partially overlap each other (e.g., covering the edge (or corner) of another content item, but not covering two content items). In some embodiments, when multiple content items are displayed in a second manner and / or in a first spatial layout, multiple content items cannot interact in one or more of the ways described herein and / or in method 900 (e.g., the display order of the content items cannot be changed by swiping). In some embodiments, displaying multiple content items in a first manner includes displaying less than 50% of each content item visible below the content item at the top of the stack. In contrast, displaying multiple content items in a second manner includes displaying more than 50% of each content item visible below the "top" photo. The above-mentioned manner of displaying representations of content items in a first spatial layout provides an efficient manner of displaying representations of content items according to the first spatial layout when one or more criteria are not met, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0239] In some embodiments, displaying representations of multiple content items in a second manner includes displaying the content items in a second spatial layout (such as a second spatial layout) that is different from the first spatial layout based on determining that the message composition user interface is being displayed in the messaging user interface (for example, if the electronic device is displaying a user interface element for composing a message). Fig.6DIn some embodiments, the message composition user interface includes a soft keyboard and one or more selectable options for adding content items to a new message being composed in the messaging user interface. In some embodiments, the message composition user interface is displayed in response to the electronic device detecting a selection of a text input field being displayed in the messaging user interface. For example, if the messaging user interface includes a user interface element for composing a message, multiple content items are displayed at corresponding positions according to the second spatial layout. In some embodiments, the second spatial layout defines the size of the representation of the content item and the position of the representation of the content item at the corresponding position in the messaging user interface. In some embodiments, the size of the representation of the content item and / or the position of the content item at the corresponding position in the messaging user interface is different from the characteristics defined by the first spatial layout. In some embodiments, before the electronic device displays the messaging composition user interface, the representation of the content item is displayed at the corresponding position according to the first spatial layout. In some embodiments, before the message composition user interface is displayed in the messaging user interface, the messaging user interface displays representations of the first message and the second message in the messaging conversation at corresponding locations in the messaging user interface. In some such embodiments, the corresponding locations of the representations of the first message and the second message in the messaging user interface do not change when the electronic device receives a request to display the message composition user interface.

[0240] In some embodiments, based on determining that the message composition user interface is not displayed in the messaging user interface, representations of multiple content items are displayed in a first spatial layout, such as Figure 6C . For example, if the messaging user interface does not include a user interface for composing messages in a messaging conversation, representations of multiple content items are displayed at corresponding locations in the messaging user interface according to the first spatial layout. In some embodiments, the first spatial layout defines the size of each content item and the position of each content item at a corresponding location. In some embodiments, displaying multiple content items according to the first spatial layout includes displaying representations of content items at a first size and at positions at corresponding locations in the messaging user interface, so that the representations of the content items partially overlap each other (e.g., covering an edge (or corner) of a content item, but not two content items). In some embodiments, if representations of multiple content items are displayed in a first manner, the spatial layout of the representations of the multiple content items does not change based on whether the electronic device is displaying a messaging composition user interface.

[0241] The above-mentioned manner of displaying representations of content items according to the first spatial layout or the second spatial layout based on whether the electronic device is displaying a message composition user provides an efficient manner of displaying representations of content items in a messaging user interface differently based on the user interface being displayed by the electronic device, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0242] In some embodiments, while displaying the messaging user interface, the electronic device receives, via one or more input devices, a first input corresponding to a request to compose a messaging activity including one or more content items, such as by Figure 6C In some embodiments, the request to compose a message is received when the electronic device detects a selection of a text input field in the messaging user interface.

[0243] In some embodiments, in response to receiving the first input, the electronic device updates the messaging user interface to include a content item selection user interface, the content item selection user interface including a first representation of a first plurality of content items for inclusion in the messaging activity, such as device 500a displaying a first representation similar to Figure 6G The optional options of the optional option 610b shown in FIG. Figure 6G For example, in response to receiving a request to compose a message, the electronic device displays representations of multiple content items (e.g., photos) that are available for addition to (e.g., inclusion in) the message currently being composed. In some embodiments, a first representation is displayed because the content item (e.g., photo) was recently created (e.g., captured via a camera of the electronic device), recently saved to a photo application on the electronic device, and / or recently modified.

[0244] In some embodiments, while displaying the content item selection user interface, the electronic device receives, via one or more input devices, a sequence of one or more inputs including a selection of a subset of the first representations of the first plurality of content items for inclusion in the messaging activity, such as a selection corresponding to FIG. 6H to FIG. 6O In some embodiments, the subset is selected when the electronic device detects touch contact touching down and leaving the subset at a location corresponding to each representation included in the first representation of the first plurality of content items.

[0245] In some embodiments, in response to receiving the sequence of one or more inputs, the electronic device displays, via the display generation component, one or more indications that a subset of the first representations has been selected for inclusion in the messaging activity, such as in Fig.6O In some embodiments, the one or more indications further indicate a priority assigned to the content items of the selected subset corresponding to the first representation in the messaging activity.

[0246] In some embodiments, one or more indications that a subset of the first representation has been selected for inclusion in a messaging activity based on determining that the sequence of one or more inputs corresponds to selecting a second representation in a subset of the first representation after selecting a first representation in a subset of the first representation also indicate that the content item corresponding to the first representation in the messaging activity will have a higher priority than the content item corresponding to the second representation. For example, indication 629-1b indicates that photo 1 in the message being composed in messaging user interface 602b is assigned the highest priority. For example, because the content item corresponding to the first representation is added to the messaging activity before the content item corresponding to the second representation is added to the messaging activity, the electronic device assigns a higher priority to the content item corresponding to the first representation than to the priority assigned to the second content item. In some embodiments, the priorities assigned to the content items in the messaging activity provide an indication of the order in which the content items will be displayed (or which content items will be visually emphasized over other content items included in the messaging activity) once the messaging activity is transferred to the messaging session.

[0247] In some embodiments, based on determining that a sequence of one or more inputs corresponds to selecting a first representation in a subset of first representations after selecting a second representation in a subset of first representations, one or more indications that a subset of first representations has been selected for inclusion in a messaging activity also indicate that a content item corresponding to the second representation in the messaging activity will have a higher priority than a content item corresponding to the first representation. For example, because the content item corresponding to the first representation is added to the messaging activity after the content item corresponding to the second representation is added to the messaging activity, the electronic device assigns a lower priority to the content item corresponding to the first representation than to the second content item. In some embodiments, the priority assigned to the content item in the messaging activity provides an indication of the order in which the content items will be displayed on the messaging user interface once the messaging activity is transferred to the messaging session (or which content items will be visually emphasized over other content items included in the messaging activity and / or stack of content items).

[0248] The above-described manner of indicating the priority assigned to content items in a messaging user interface provides an efficient manner of indicating the order in which content items will be displayed in a messaging user interface, which simplifies the interaction between a user and an electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0249] In some embodiments, the messaging user interface includes a messaging activity input area, such as text input field 625b. In some embodiments, in response to receiving a sequence of one or more inputs, the electronic device updates the messaging activity input area to include a subset of the first representation that has been selected for inclusion in the messaging activity, such as representations 613-1b and 613-2b included in text input field 625b (e.g., representations of content items currently selected for inclusion in the messaging activity are displayed in the messaging activity input area), wherein the subset of the first representation includes a first representation and a second representation, and the sequence of one or more inputs corresponds to selecting the second representation after selecting the first representation, such that the content item corresponding to the first representation will have a higher priority in the messaging activity than the content item corresponding to the second representation (e.g., the content item corresponding to the first representation is currently assigned a higher priority than the content item corresponding to the second representation because the content item corresponding to the first representation was added to the messaging activity before the content item corresponding to the second representation was added to the messaging activity).

[0250] In some embodiments, while a subset of the first representation is displayed in the message activity input area, the electronic device receives, via one or more input devices, a second input corresponding to a request to rearrange the first representation relative to the second representation in the message activity input area, such as in Figure 6P In some embodiments, the electronic device receives the second input when the touch contact drags the first representation to the current position of the second representation and / or when the touch contact drags the second representation to the current position of the first representation.

[0251] In some embodiments, in response to receiving the second input, the electronic device rearranges the first representation relative to the second representation in the message activity input area according to the second input (such as Figure 6Q ), and the electronic device updates the priorities associated with the first representation and the second representation so that the content items corresponding to the second representation will have a higher priority than the content items corresponding to the first representation in the messaging activity (such as the priority of photo 2 and photo 4 is increased from 0 to 1). Figure 6P The priority assigned to Figure 6Q For example, after detecting a request to switch the order of the first representation and the second representation in the message activity input area, the electronic device switches the positions of the first representation and the second representation in the message activity input area. In addition, because the corresponding positions of the first representation and the second representation in the message activity input area change, the priorities of the first representation and the second representation are updated accordingly. For example, before receiving the second input, the content item corresponding to the first representation is assigned the first corresponding priority and the content item corresponding to the second representation is assigned the second corresponding priority. After receiving the second input, the corresponding priorities assigned to the corresponding content items are switched so that the content item corresponding to the first representation is assigned the second corresponding priority and the content item corresponding to the second representation is assigned the first corresponding priority.

[0252] The above-described manner of updating the priorities of content items when the positions corresponding to representations of content items selected for inclusion in a messaging activity change in the message input area provides an efficient manner of adjusting the priorities assigned to content items that have been added to a messaging activity, which simplifies the interaction between a user and an electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0253] In some embodiments, when a content item selection user interface is displayed (e.g., a plurality of representations of content items that can be used to include in a message being composed in the messaging user interface are displayed in a current messaging user interface of the electronic device), and when a first representation and a second representation in a subset of first representations are selected for inclusion in a messaging activity (e.g., the electronic device has detected one or more inputs that cause content items corresponding to the first representation and the second representation to be included in the messaging activity), where the selection of the first representation for inclusion in the messaging activity is reflected in a first visual indication displayed in association with the first representation, the first visual indication having a corresponding visual characteristic of a first value, the electronic device receives one or more inputs directed to the first representation via one or more input devices, such as Figure 6R and Figure 6S Touch contacts 601b-r and 601b-s.

[0254] In some embodiments, in response to receiving one or more inputs directed to the first representation, based on determining that the one or more inputs include more than a threshold number of selections of the first representation, deselecting the first representation from being included in the messaging activity, stopping display of the first visual indication, and updating the priority that the content item corresponding to the second representation will have in the messaging activity, such as causing photo 3 to no longer be included in the messaging activity. Figure 6SIn the message being composed in the electronic device. For example, if the electronic device detects that the first representation has been selected more than a threshold number of times, the content item corresponding to the first representation is removed from the first messaging activity. In some embodiments, when the corresponding content item is removed from the messaging activity, the priorities of other content items included in the messaging activity are updated accordingly. For example, if when the first content item is deselected (e.g., removed) from the messaging activity, the messaging activity includes a first content item with the highest priority in the messaging session, a second content item with the second highest priority in the messaging session, and a third content item with the third highest priority in the messaging session, the electronic device optionally updates the priority of the second content item to have the highest priority in the messaging activity and updates the priority of the third content item to have the second highest priority in the messaging activity.

[0255] In some embodiments, based on determining that one or more inputs do not include more than a threshold number of selections of the first representation, a first visual indication having a corresponding visual characteristic that is a second value different from the first value is displayed, while maintaining the first representation as selected for inclusion in the messaging activity and not updating the priority that a content item corresponding to the second representation would have in the messaging activity, such as even if touch contact 601b-r selected the representation corresponding to photo 3, the priority of photo 3 in the message being composed is Figure 6R For example, if the first representation has not been selected more than a threshold number of times, the first visual indication indicates that another selection of the first representation will cause the content item corresponding to the first representation to be removed from the first messaging activity. In some embodiments, when the first visual indication is displayed with the second value, the visual appearance of the first visual indication is different from when the first visual indication is displayed with the first value.

[0256] The above-mentioned method of removing a content item from a message being composed in a messaging user interface when the representation corresponding to the content item has been selected a predetermined number of times provides an efficient way to remove a content item from a messaging activity currently being composed in a messaging user interface, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0257] In some embodiments, while displaying representations of multiple content items in a messaging user interface in a first manner, the electronic device receives an indication of a second messaging activity directed to the messaging session, wherein the second messaging activity includes a second plurality of content items added to the messaging session, such as in Figure 6VIn some embodiments, device 500 receives an indication that a device associated with Alice has added a message including four photos to the messaging session. In some embodiments, the electronic device receives an indication of a new messaging activity in the messaging session when the electronic device is displaying representations of multiple content items at corresponding locations in the messaging user interface. In some embodiments, the corresponding user causing the second messaging activity is a user of the electronic device. In some embodiments, the corresponding user causing the second messaging activity is a user of a different electronic device.

[0258] In some embodiments, in response to receiving an indication of a second messaging activity, based on determining that the second messaging activity does not meet one or more criteria (for example, if the number of content items included in the second messaging activity does not exceed a corresponding threshold number of content items (for example, 4, 8, 12 content items)), the electronic device simultaneously displays representations of multiple content items in a messaging user interface in a first manner (for example, the electronic device does not change the manner in which representations of the content items are presented because the first messaging activity and the second messaging activity are independent of each other), and simultaneously displays representations of a second plurality of content items in a second manner, such as in Figure 6V In some embodiments, the device 500 displays the representation of the content item with visual indications 605a and 616a (e.g., the representation of the second plurality of content items is displayed in a second manner at a second corresponding position in the messaging user interface). For example, if the number of content items in the second messaging activity does not exceed the corresponding threshold value of the content item (e.g., 4, 8, 12 content items), the representation of these content items is displayed in a different manner than when the content item exceeds the corresponding threshold value of the content item (e.g., 4, 8, 12 content items). In some embodiments, the representation of the second plurality of content items displayed in a second manner includes displaying the second plurality of content items in a second visual appearance (e.g., a second color). In some embodiments, the representation of the second plurality of content items displayed in a second manner includes displaying the representation of the second plurality of content items in a predetermined (e.g., spatial) layout different from the stacking of the above-mentioned content items. For example, the representation of the content item is displayed at the second corresponding position in the messaging user interface so that at least one content item partially covers another content item (e.g., covering the edge (or corner) of another content item).

[0259] The above-mentioned method of displaying representations of content items differently based on whether the corresponding messaging activity satisfies one or more criteria provides an efficient way to display content items differently in a messaging user interface based on the satisfied criteria, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0260] In some embodiments, displaying representations of the plurality of content items in a first manner includes displaying the representations of the plurality of content items as a stack of representations of the content items, such as displaying the representations of the plurality of content items in a first manner. Figure 6V In the stack shown in. For example, if the number of content items included in the first messaging activity is at least four content items, the representation of multiple content items is displayed as a stack of representations. In some embodiments, the representation of the content items displayed in the stack includes each of the representations of the content items displayed with a varying priority level (e.g., the level of the visual emphasis and / or visual significance of the variation). In some embodiments, the electronic device prioritizes the display of the corresponding representations in the stack (e.g., the representation of a content item is not obscured by other representations of other content items). In some embodiments, the (e.g., swipe) input pointing to the stack makes the stack prioritize the display of the representation of the new content item. In some embodiments, the second mode is different from the first mode, because the (e.g., swipe) input pointing to the representation of the content item does not make the representation of the new content item be prioritized. In some embodiments, when the stack of the representation of the content item is initially displayed in the messaging user interface, the electronic device provides an indication that the input can point to the stack (e.g., when initially displayed in the messaging user interface, the representation in the stack is unfolded (dispersed) in the animation).

[0261] The above-mentioned manner of displaying representations of content items as a stack provides an efficient manner of displaying multiple representations of content items as a stack when the criteria for displaying the representations of the content items in the first manner are met, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0262] In some embodiments, displaying representations of the plurality of content items in a first manner includes displaying, in the messaging user interface, in association with the representations of the plurality of content items, a selectable option that can be selected to display a corresponding user interface including representations of the plurality of content items displayed in a third manner different from the first manner, such as Figure 6AI 620a in the indication 620a. For example, if the electronic device is displaying the multiple content items included in the first visual indication in a first manner, the first visual indication also includes a selectable option to display the multiple content items in rows and columns (e.g., arranged according to a "grid" layout). In some embodiments, the selectable option is displayed regardless of the corresponding manner in which the electronic device is displaying the multiple content items included in the first visual indication. In some embodiments, if the electronic device displays the multiple content items according to a second manner, the selectable option is not displayed in the first visual indication.

[0263] The above-mentioned manner of displaying a selectable option of displaying multiple content items in a third manner when selected provides an efficient manner of displaying multiple content items in different manners in response to input, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0264] In some embodiments, the selectable options include status information for multiple content items, such as Figure 6AI 620a in the visual indication ("4 photos have been saved"). For example, in some embodiments, the selectable options (e.g., included in the first visual indication) provide information about multiple content items relative to the electronic device. For example, if none of the content items corresponding to the representation of the content items (e.g., included in the first visual indication) have been saved to the electronic device, the selectable options indicate the number of content items that can be saved / downloaded to the electronic device (e.g., "2 content items", "10 content items", etc.). In some embodiments, if a subset of the content items included in the first visual indication has been downloaded to the electronic device, the selectable options indicate the number of content items that have been downloaded (e.g., while also indicating the total number of content items that can be downloaded to the electronic device). In some embodiments, if the electronic device cannot access the corresponding number of content items included in the visual indication because those content items are still uploaded to a particular server, the selectable options indicate the number of content items that are still uploaded to the server. In some embodiments, the selectable options indicate when the electronic device will no longer be able to access the content items included in the first visual indication (e.g., the date on which the content items expire).

[0265] The above-mentioned method of indicating the status of multiple content items provides an efficient way of indicating the status of multiple content items relative to an electronic device that displays the multiple content items, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0266] In some embodiments, based on determining that the first messaging activity satisfies one or more second criteria, a selectable option that can be selected to initiate a process of saving the plurality of content items to the electronic device is displayed in association with representations of the plurality of content items in the messaging user interface, such as Figure 6AF618a in the first visual indication. For example, if content items corresponding to multiple representations of content items included in the first visual indication are downloadable to the electronic device (or it has been determined that the user of the electronic device is likely to download the multiple content items (e.g., exceeding a probability threshold such as 70%, 80%, 90%, etc.)), the electronic device updates the messaging user interface to include a selectable option for downloading / saving the multiple content items to the electronic device. In some embodiments, if a subset of the multiple content items has been previously downloaded to the electronic device, initiating a process of saving the multiple content items to the electronic device includes initiating a process of downloading / saving the multiple content items that have not been previously downloaded (e.g., not initiating a process of downloading / saving the multiple content items that have been saved / downloaded to the electronic device). In some embodiments, if none of the multiple content items has been downloaded to the electronic device, initiating a process of saving the multiple content items to the electronic device includes initiating a process of downloading / saving all content items included in the multiple content items to the electronic device (or a corresponding application available on the electronic device).

[0267] The above-described manner of displaying selectable options for downloading / saving multiple content items provides an efficient manner of initiating the process of saving multiple content items from a messaging user interface, which simplifies the interaction between a user and an electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0268] In some embodiments, displaying representations of multiple content items in a first manner includes displaying status information of the multiple content items in the messaging user interface in association with the representations of the multiple content items (e.g., when representations of content items included in the first visual indication are being displayed in the first manner, the electronic device displays the status of those content items relative to the electronic device). In some embodiments, when none of the content items have been saved / downloaded to the electronic device, the status information indicates the total number of content items available for saving to the electronic device (e.g., the number of content items corresponding to the first visual indication). In some embodiments, when a portion of the multiple content items have been previously saved / downloaded to the electronic device, the status information indicates the number of content items of the multiple content items that have been previously saved / downloaded.

[0269] In some embodiments, when displaying a selectable option that can be selected to initiate a process of saving multiple content items to an electronic device, the electronic device receives a first input corresponding to a selection of the selectable option via one or more input devices (for example, when the electronic device is displaying a messaging user interface, the electronic device detects a request to download multiple content items), such as selecting Figure 6AE601a-cc of selectable option 618a in . In some embodiments, in response to receiving the first input, the electronic device initiates a process of saving the multiple content items to the electronic device. In some embodiments, initiating the process of saving the multiple content items to the electronic device includes initiating a process of saving all multiple content items that are not currently downloaded to the electronic device. In some embodiments, the electronic device prompts a user of the electronic device to confirm / approve the process of saving the multiple content items to the electronic device. In some embodiments, after initiating the process of saving the multiple content items to the electronic device (for example, after the multiple content items are saved to the electronic device), the electronic device 500 updates the status information of the multiple content items to indicate that the multiple content items have been saved to the electronic device, such as from Figure 6AE "4 photos" in Figure 6AH For example, before receiving the request to save the multiple content items, the status information associated with the multiple content items indicates that none of the multiple content items are currently saved to the electronic device. After receiving the request to save the multiple content items (and after the multiple content items have been successfully saved to the electronic device), the electronic device updates the status information from indicating that none of the content items are currently saved to the electronic device to indicating that all the current content items have been saved to the electronic device (for example, indicating the corresponding number of the multiple content items currently saved to the electronic device).

[0270] The above-mentioned method of updating the status information displayed in the messaging user interface when the status of multiple content items relative to the electronic device changes provides an efficient method for indicating the current status of multiple content items relative to the electronic device, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0271] In some embodiments, the representation of the multiple content items (e.g., included in (or displayed at) a first visual indication) includes a first representation of a first content item (e.g., a first photo, a first video), and displaying the representation of the multiple content items in a first manner includes displaying the first content item in a first visual appearance and at a position corresponding to a first priority in the representation of the multiple content items based on determining that the first content item is available for viewing (e.g., a first photo, a first video). Figure 6ADThe first representation of the first content item is displayed in a manner that is similar to the appearance and position of the representation 614a-1 of photo 1 in the stack in the electronic device. For example, the priority of the first representation of the first content item (e.g., assigned to the first representation) varies based on whether the electronic device has access rights to the first content item. For example, if the first content item can be displayed by the electronic device, the representation of the first content is displayed with a higher priority than content items that cannot be displayed by the electronic device. In some embodiments, displaying the first representation of the first content with a first visual appearance includes displaying the first content item (or a representation of the first content item). In some embodiments, if the visual indication displays multiple content items in the stack, the representation of the first content item is closer to the top of the stack (e.g., the position of the representation of the first content item is closer to the top of the stack) than the representations of other content items that cannot be used for display / viewing (e.g., the position of the representation of the other content items is farther away from the top of the stack than the first representation of the first content item). In some embodiments, if the electronic device cannot download the first content item from the corresponding server, the content item cannot be used for viewing.

[0272] In some embodiments, displaying representations of the plurality of content items in a first manner includes displaying a first representation of the first content item in a second visual appearance different from the first visual appearance and at a second priority position lower than the first priority in the representations corresponding to the plurality of content items based on determining that the first content item is not available for viewing, such as if Photo 1 is still being downloaded from the server, at Figure 6AD , a representation 614a-1 of photo 1 is displayed at a second position in the stack of . For example, when the first content item is not available for viewing, the first representation assigned to the first content item has a lower priority. In some embodiments, if the first content item is still uploaded to the server (e.g., cannot be downloaded by the electronic device), the first content item is not available for viewing. In some embodiments, when the first content item is not available for viewing, displaying the representation of the first content item with a second visual appearance includes displaying a placeholder image or a placeholder gray box (e.g., until the first content item is available for viewing). In some embodiments, if the first visual indication includes multiple content items displayed in the stack, the representation of the first content item is displayed as being closer to the bottom of the stack than the representation of the content item available for viewing.

[0273] The above-mentioned manner of changing the priority of the representation of the first content item based on whether the first content item is available for viewing provides an efficient manner of prioritizing the display of representations of content items that are available for viewing, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0274] In some embodiments, while displaying representations of multiple content items in a first manner, wherein the representations of the multiple content items are displayed in a first order in the first manner (e.g., the electronic device is currently displaying the multiple content items in a particular order at a first visual indication). In some embodiments, the order corresponds to the positions of the representations of the multiple content items in a stack (e.g., the visual order of the representations of the content items displayed at the first visual indication), the electronic device receives a first input pointing to the representations of the multiple content items via one or more input devices, such as Figure 6W Input 601a-w in.

[0275] In some embodiments, in response to receiving the first input, based on determining that the first input includes a movement that satisfies one or more second criteria (for example, if the first input corresponds to a horizontal swipe or drag gesture performed on a stack of content items), the electronic device updates the display of representations of the plurality of content items so as to be displayed in a first manner in a second order that is different from the first order (such as Figure 6X In some embodiments, if the movement is a vertical swipe or drag gesture, the movement does not meet one or more second criteria, but updates the order of the content items in the stack, and the electronic device scrolls through the messaging user interface, optionally including scrolling the stack of content items out of view on the display. For example, if the first representation of the first content item is displayed with the highest priority in the first visual indication (e.g., at the top of the stack) when the first input is received, the second representation of the second content item is displayed with the highest priority (e.g., at the top of the stack) in response to the first (e.g., swipe) input. In some embodiments, therefore, the second representation of the second content item is moved from the corresponding position in the stack to the top of the stack (e.g., the first position in the stack), and the corresponding positions of other content items in the stack are also rearranged accordingly. In some embodiments, if the electronic device displays representations of multiple content items according to the second manner, the order of the representations of the multiple content items does not change in response to the input.

[0276] The above-mentioned method of changing the order of representation of multiple content items at corresponding visual indications in response to input provides an efficient way to display content items in different orders, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0277] In some embodiments, the first order is a first corresponding order based on determining a first corresponding order of representations of multiple content items in a first messaging activity indicated by a corresponding user. For example, when the corresponding user is composing a message corresponding to a first visual indication (e.g., a first messaging activity), the electronic device displays representations of multiple content items in an order assigned to the corresponding content items (e.g., according to a priority). In some embodiments, the first corresponding order corresponds to the order in which the content items were added to the first messaging activity.

[0278] In some embodiments, the first order is a second corresponding order based on determining that the corresponding user indicates a second corresponding order of representations of multiple content items in the first messaging activity that is different from the first corresponding order. For example, when the corresponding user is composing a message corresponding to the first visual indication (e.g., the first messaging activity), the electronic device displays representations of the multiple content items in the order assigned to the corresponding content items (e.g., according to priority). In some embodiments, the second corresponding order corresponds to the order in which the content items were added to the first messaging activity.

[0279] The above-mentioned manner of visually sorting representations of content items differently at the visual indication of the messaging activity based on the priorities assigned to the content items during the composition of the messaging activity provides an efficient manner of displaying content items in different orders, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0280] In some embodiments, when displaying representations of multiple content items in a first manner in a second order, the electronic device, such as in response to selecting Figure 6AB In some embodiments, after stopping display of the messaging user interface, the electronic device displays a messaging user interface including a messaging conversation associated with multiple users, wherein the messaging user interface includes representations of multiple content items displayed in a first manner and in a first order, such as Figure 6AC For example, representations of content items included in the first visual indication are displayed according to the priorities initially assigned to the corresponding content items (e.g., the priorities assigned when the first messaging activity was composed), even if the order of the content items was previously changed in the messaging user interface in response to user input after the messaging activity was composed and sent to the messaging session.

[0281] The above-described manner of displaying representations of content items at a first visual indication according to an order defined by a corresponding user who composes a corresponding messaging activity provides an efficient manner of displaying representations of content items based on an order defined by a corresponding user after the order of those representations is changed in response to one or more inputs, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0282] It should be understood that Figure 7 The specific order in which the operations in the description are described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations may be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein. In addition, it should be noted that the details of other processes described herein with respect to other methods described herein (e.g., method 900) are also applicable in a similar manner to the details of the above description of Figure 7 For example, the manner of displaying representations of multiple content items in a messaging session described above with reference to method 700 optionally has one or more characteristics of the manner for interacting with multiple representations of content items described herein described with reference to other methods described herein (e.g., method 900). For the sake of brevity, these details are not repeated here.

[0283] The operations in the above information processing method are optionally implemented by running one or more functional modules in an information processing device, such as a general-purpose processor (e.g., Figure 1A to Figure 1B , Figure 3 , FIG. 5A to FIG. 5H In addition, the above reference Figure 7 The operation is optionally performed by Figure 1A to Figure 1B. For example, receiving operation 704 and display operations 702 and 706 are optionally implemented by event classifier 170, event identifier 180 and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch screen 504, and event distributor module 174 transmits event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186, and determines whether the first contact at the first position on the touch screen corresponds to a predefined event or sub-event, such as the selection of an object on the user interface. When the corresponding predefined event or sub-event is detected, event identifier 180 activates the event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update the application internal state 192. In some embodiments, event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, a person skilled in the art will clearly know how to Figure 1A to Figure 1B The components depicted in the figure implement other processes.

[0284] Selection of content items in the messaging user interface

[0285] The user interacts with the electronic device in many different ways, including using the electronic device to access the user interface associated with one or more content items in the messaging session. In some embodiments, the user interface associated with the corresponding content item in the messaging session includes a selectable option for adding the messaging activity to the corresponding content item in the messaging session. The embodiment described below provides the mode of the user interface associated with the content item in the messaging session by the electronic device. The efficient mode of providing access to the user interface associated with the corresponding content item in the messaging session reduces the required duration of the user and device interaction, thereby prolonging the battery life of the battery-powered device. It should be understood that people use equipment. When people use equipment, this person is optionally referred to as the user of the equipment.

[0286] Figures 8A to 8AAL Various ways of interacting with multiple content items in a messaging session according to some embodiments of the present disclosure are shown. The embodiments in these figures are used to illustrate the process described below, including reference Fig. 9 Although Figures 8A to 8AAL An electronic device is shown capable of executing the following reference Fig. 9 Various examples of the manner of the described process are provided, but it should be understood that these examples are not meant to be limiting and that the electronic device can be used without reference to Figures 8A to 8AAL The method described hereunder is clearly described Fig. 9 The process or processes described.

[0287] Fig. 8A An exemplary device 500a is shown including a touch screen 504a. Fig. 8A , device 500a presents a messaging user interface 802a that includes a messaging conversation between a user of device 500a (Bob), a contact named Alice (indicated by representation 850a of Alice), and a contact named Sam (indicated by representation 848a of Sam). Messaging user interface 802a includes a visual indication 807a of a first message added to the messaging conversation with a device associated with Bob, a visual indication 809a of a second message added to the messaging conversation with a device associated with Sam, and a visual indication 816a of a third message added to the messaging conversation with a device associated with Alice. Visual indication 816a includes representation 814a-1 of photo 1, representation 814a-2 of photo 5, representation 814a-3 of photo 2, and representation 814a-4 of photo 4. In some embodiments, in response to device 500a receiving an indication that a device associated with Alice has added a message including four photos, Photo 1, Photo 2, Photo 4, and Photo 5, to the messaging conversation, visual indication 816a is displayed in messaging user interface 802a. Fig. 8A In the example of FIG. 5 , device 500 a is displaying representations 814 a - 1 through 814 a - 4 in a stack because the message corresponding to visual indication 816 a includes four photos: photo 1, photo 2, photo 4, and photo 5. As previously described with reference to FIG. Figure 6U In some embodiments, when the electronic device receives an indication that a message including four or more content items has been added to the messaging session, the device 500a displays representations of the content items in a stack. The visual indication 816a optionally has one or more characteristics similar to the previously described visual indication 616a.

[0288] In some embodiments, when the electronic device displays representations of content items in a stack, the representation being displayed at the top of the stack (e.g., being displayed at the first position in the stack) is selectable, and when selected, causes the electronic device to display a user interface for the content item corresponding to the selected representation. Figure 8B , while device 500a is displaying representation 814a-1 of Photo 1 at the top of the stack, device 500a receives input selecting representation 814a-1 of Photo 1 (indicated by touch contact 801a-b tapping on representation 814a-1). Figure 8CIn response to device 500a detecting a selection of representation 814a-1 of photo 1, device 500a displays user interface 804a of photo 1 (e.g., a photo corresponding to representation 814a-1). User interface 804a includes representation 897a of photo 1 and includes an indication corresponding to Figure 8B 803a that a representation of photo 1 in visual indication 816a (e.g., representation 814a-1) is currently at the top of the stack. Additionally, indication 803a indicates that the representation corresponding to photo 1 in visual indication 816a is one of four representations included in visual indication 816a. Additionally or alternatively, in some embodiments, when the electronic device displays representations of content items in a stack, the stack is selectable and, when selected, causes the electronic device to display a user interface of the content item corresponding to the representation displayed at the top of the stack.

[0289] In addition, the user interface 804a includes: optional option 805a, which, when selected, causes the electronic device 500a to display a user interface including a representation of the content item included in the visual indication 816a; optional option 806a-1, which, when selected, causes the electronic device 500a to initiate a process of sharing photo 1 with one or more users (e.g., users associated with one or more second electronic devices); optional option 806a-2, which, when selected, causes the electronic device 500a to initiate information related to / associated with photo 1; optional option 806a-3, which, when selected, causes the electronic device 500a to initiate a process of adding a reaction (e.g., a tap back) to photo 1 in the messaging session; and optional option 806a-4, which, when selected, causes the device 500a to initiate a process of replying to photo 1 in the messaging session; and optional option 806a-5, which, when selected, causes the device 500a to initiate a process of saving photo 1 to the electronic device 500a.

[0290] exist Figure 8C , while device 500a is displaying user interface 804a associated with Photo 1, electronic device 500a detects a request to display a user interface corresponding to another photo included in visual indication 816a (indicated by a right swipe of touch contacts 801a-c on representation 897a of Photo 1). In some embodiments, the next user interface displayed by device 500a is based on a representation that is ordered (e.g., immediately) after the representation of Photo 1 in the stack. For example, in Fig.8D In response to device 500a detecting Figure 8C , device 500a displays user interface 804a-2 for Photo 5 because Photo 5 corresponds to representation 814a-2 that is sorted after representation 814a-1 for Photo 1 in the stack, as shown in FIG. Figure 8B The user interface 804a-2 optionally has a similar Figure 8C Specifically, user interface 804-2a includes a representation 897a-2 of photo 5 and includes an indication corresponding to Figure 8B 5 (e.g., representation 814a-2) is currently located in the second position in the stack. Additionally, indication 803a indicates that the representation corresponding to Photo 5 in visual indication 816a is one of four representations included in visual indication 816a. It should be understood that while device 500a is displaying user interface 804a, device 500a may also detect a swipe in a left direction, which in some embodiments causes device 500a to similarly display a user interface for a content item corresponding to the representation displayed at the bottom of the stack (Photo 4) because no other representations are sorted in the stack before representation 814a-1 of Photo 1, as shown. Figure 8B 814a - 1 at the top of the stack (eg, because device 500a displays representation 814a - 1 at the top of the stack).

[0291] In addition, the user interface 804a-2 includes: optional option 805a, which, when selected, causes the electronic device 500a to display a user interface including a representation of the content item included in the visual indication 816a; optional option 806a-1, which, when selected, causes the electronic device 500a to initiate a process of sharing photo 5 with one or more users (e.g., users associated with one or more second electronic devices); optional option 806a-2, which, when selected, causes the electronic device 500a to initiate information related to / associated with photo 5; optional option 806a-3, which, when selected, causes the electronic device 500a to initiate a process of adding a reaction (e.g., tapping return) to photo 5 in the messaging conversation; and optional option 806a-4, which, when selected, causes the device 500a to initiate a process of replying to photo 5 in the messaging conversation; and optional option 806a-5, which, when selected, causes the device 500a to initiate a process of saving photo 5 to the electronic device 500a.

[0292] exist Fig. 8E , while device 500a is displaying user interface 804a-2 associated with Photo 5, electronic device 500a detects another request to display a user interface for another photo included in visual indication 816a (indicated by a rightward swipe of touch contact 801a-e on representation 897a-2 of Photo 5). Fig.8F In response to electronic device 500a detecting a request to display a user interface associated with another photo included in visual indication 816a, electronic device 500a displays user interface 804a-3 for photo 2 because photo 2 corresponds to Figure 8B, which is sorted in the stack (e.g., just after) representation 814a-2 of photo 5. User interface 804a-3 optionally has a user interface similar to Figure 8C One or more features of user interface 804a shown in .

[0293] Specifically, user interface 804a-3 includes a representation 897a-2 of photo 2 and includes an indication corresponding to Figure 8B 803a that the representation of photo 2 in the stack (e.g., representation 814a-3) is currently located in the third position in the stack. In addition, indication 803a indicates that the representation corresponding to photo 2 in visual indication 816a is one of the four representations of the photo included in visual indication 816a.

[0294] In addition, the user interface 804a-3 includes: optional option 805a, which, when selected, causes the electronic device 500a to display a user interface including a representation of the content item included in the visual indication 816a; optional option 806a-1, which, when selected, causes the electronic device 500a to initiate a process of sharing photo 2 with one or more users (e.g., users associated with one or more second electronic devices); optional option 806a-2, which, when selected, causes the electronic device 500a to initiate information related to / associated with photo 2; optional option 806a-3, which, when selected, causes the electronic device 500a to initiate a process of adding a reaction (e.g., tapping return) to photo 2 in the messaging session; and optional option 806a-4, which, when selected, causes the device 500a to initiate a process of replying to photo 2 in the messaging session; and optional option 806a-5, which, when selected, causes the device 500a to initiate a process of saving photo 2 to the electronic device 500a.

[0295] exist Figure 8G , while device 500a is displaying user interface 804a-3, device 500a detects a request to add a tap back (e.g., a message tag) to photo 2 in the messaging session (represented by touch contact 801a-g selecting selectable option 806a-3). Figure 8G In the request, Figure 8H , device 500a displays a plurality of tap returns (e.g., message tags), including a heart tap return 822a-1, a thumbs up tap return 822a-2, a thumbs down tap return 822a-3, a laugh tap return 822a-4, an emphasis tap return 822a-5, and a question mark tap return 822a-6, which, when selected, cause device 500a to add the selected tap return (e.g., message tag) to photo 2 in the messaging conversation. Figure 8I, when device 500a is displaying multiple tap returns (e.g., message labels), device 500a detects selection of heart-shaped tap return 822a-1 (indicated by a tap of touch contact 801a-i on heart-shaped tap return 822a-1). Figure 8J In response to detecting Figure 8I In response to selection of the tap to return 822a-1, the device 500a displays a visual indication that the tap to return 822a-1 has been selected. Figure 8K , after a corresponding amount of time (e.g., 0.3 seconds, 0.7 seconds, 1 second, 3 seconds) has passed since indicating that tap return 822a-1 has been selected, device 500a ceases to display tap return (e.g., message labels) 822a-1 through 822a-6 in user interface 804a-3. Figure 8K , because the tap return (e.g., message sticker) has now been added to Photo 2 in the messaging conversation, device 500a updates the visual appearance of selectable option 806a-3 to indicate that the tap return of Photo 2 has been added to the messaging conversation. Specifically, because the heart-shaped tap return is added to Photo 2 (and because no other tap returns (e.g., message stickers) have been added to Photo 2 in the messaging conversation), device 500a updates the visual appearance of selectable option 806a-3 to indicate that the heart-shaped tap return has been added to Photo 2 in the messaging conversation.

[0296] exist Figure 8K , after device 500a taps the heart shape back to add photo 2 to the messaging conversation, device 500a detects a request to navigate back to messaging user interface 802a (indicated by touch contacts 801a-k selecting a selectable option with label “Done”). In some embodiments, when a request to navigate back to messaging user interface 802a is received, device 500a updates the representation displayed at the top of the stack (e.g., the first position in the stack) in messaging user interface 802a to correspond to the photo being displayed by device 500a. For example, in Figure 8L In, because Figure 8K When device 500a receives a request to navigate back to messaging user interface 802a, device 500a is displaying a representation of photo 2, so device 500a updates the representation displayed at the top of the stack from representation 814a-1 of photo 1 to representation 814a-3 corresponding to photo 2. As a result of device 500a updating the position of representation 814a-3 of photo 2 in the stack from the third position to the first position (e.g., the top of the stack), the positions of representations of other content items in the stack are also rearranged accordingly. Specifically, device 500a rearranges the representations of other content items in the stack so that representation 814a-4 of photo 4 is now displayed in the second position in the stack (previously located in the fourth position in the stack, as shown in FIG. 5 ). Fig. 8A), the representation 814a-1 of Photo 1 is now displayed in the third position in the stack (previously in the first position in the stack, as shown in Fig. 8A ), and representation 814a-2 of Photo 5 is now displayed at the bottom of the stack (previously located in the second position in the stack, as shown Fig. 8A In addition to the positions of the items in the stack being rearranged by device 500a (e.g., the positions of representations 814a-1 through 814a-4), device 500a also updates messaging user interface 802a to include representation 830a of a heart tap return at representation 814a-3 of photo 2 because the heart tap return for photo 2 was added to the messaging session, as shown in FIG. Figure 8I As described in.

[0297] In some embodiments, the tap-to-return (e.g., message label) of a message previously added to a messaging conversation can be changed / adjusted. Figure 8M , device 500a detects selection of representation 830a of the heart-shaped tap return displayed at representation 814a-3 of Photo 2 (indicated by touch contacts 801a-m being pressed for more than a threshold time period (e.g., 0.5 seconds, 1 second, 2 seconds, 5 seconds) at a location on touch screen 504a corresponding to representation 830a). Figure 8N In response to detecting Figure 8M , device 500a updates messaging user interface 802a to include the input previously entered in Figure 8H Heart Tap Return, Thumbs Up Tap Return, Thumbs Down Tap Return, Laughter Tap Return, Emphasis Tap Return, and Question Mark Tap Return as described and shown in. Figure 8N When multiple tap returns (e.g., message labels) are displayed in the device 500a, the device 500a detects a selection of a thumbs-up tap return (indicated by a tap of touch contacts 801a-n at a location on the touch screen 504a corresponding to the thumbs-up message label). In response to the device 500a detecting Figure 8N The input in Fig.8O , device 500a updates a tap return (e.g., a message tag) previously added by device 500a to the messaging conversation from a heart-shaped tap return to a thumbs-up tap return (indicated by device 500a updating the messaging user interface to display representation 831a of a thumbs-up tap return).

[0298] In some embodiments, device 500a displays a tap back (e.g., a message tag) of a corresponding message (or content item) added to the messaging session by the devices of other users in the messaging session. Figure 8PIn response to device 500a receiving an indication that a device associated with Sam has added a heart tap return to Photo 2 in the messaging conversation, device 500a updates messaging user interface 802a to display a representation 830a-2 of the heart tap return at representation 814a-3 corresponding to Photo 2. Figure 8Q , while displaying the updated messaging user interface 802a and while representations 814a-3 of photo 2 are displayed at the top of the stack, the electronic device 500a detects selection of a stack of items included in the visual indication 816a (selection of the stack indication included in the visual indication 816a by touch contacts 801a-q).

[0299] As previously described, in some embodiments, the representation displayed at the top of the stack is selectable, and when selected, causes the electronic device to display a user interface associated with the content item corresponding to the selected representation. Figure 8R In response to electronic device 500a detecting a selection of representation 814a-3 of photo 2, device 500a displays user interface 804a-3 associated with photo 2 (e.g., a photo corresponding to representation 814a-3). User interface 804a includes representation 897a-3 of photo 2 and includes an indication corresponding to Figure 8B Indication 803a that the representation of photo 2 in the visual indication 816a (e.g., representation 814a-3) is currently located at the top of the stack. In addition, indication 803a indicates that the representation corresponding to photo 2 in visual indication 816a is one of the four representations included in visual indication 816a.

[0300] In addition, user interface 804a-3 includes: optional option 805a, which, when selected, causes electronic device 500a to display a user interface including a representation of the content item included in visual indication 816a; optional option 806a-1, which, when selected, causes electronic device 500a to initiate a process of sharing photo 2 with one or more users (e.g., users associated with one or more second electronic devices); optional option 806a-2, which, when selected, causes electronic device 500a to initiate information related to / associated with photo 2; optional option 806a-3, which, when selected, causes electronic device 500a to initiate a process of adding a reaction (e.g., a message tag, tapping back, etc.) to photo 2 in a messaging session; and optional option 806a-4, which, when selected, causes device 500a to initiate a process of replying to photo 2 in a messaging session; and optional option 806a-5, which, when selected, causes device 500a to initiate a process of saving photo 2 to electronic device 500a. As shown in the figure, in Figure 8R, because the tap return (e.g., message sticker) previously added to the messaging conversation of photo 2, device 500a displays selectable option 806a-3 with a visual appearance indicating a tap return (e.g., message sticker) previously added to the messaging conversation of photo 2. Specifically, selectable option 806a-3 indicates a heart tap return and a thumbs up tap return previously added to the messaging conversation of photo 2.

[0301] exist Figure 8S , while device 500a is displaying user interface 804a-3, device 500a detects selection of selectable option 806a-3 (indicated by a tap of touch contact 801a-s on selectable option 806a-3). Figure 8T In response to device 500a detecting Figure 8S In the selection, the device 500a displays the tap return 822a-1 to 822a-6 shown and described previously. Figure 8T , because a tap return (e.g., a message sticker) was previously added to photo 2 in the messaging conversation, device 500a displays indications 826a indicating users associated with the device that added the tap return (e.g., a message sticker) to photo 2. Specifically, indications 826a include indications 828a indicating that user Sam has added a heart-shaped tap return to photo 2 and indications 830a indicating that user Bob has added a thumbs-up tap return to photo 2.

[0302] In some embodiments, the electronic device optionally receives a request to reply to a specific content item (e.g., a photo) in a messaging conversation. Figure 8U , while electronic device 500a is displaying user interface 804a-3, electronic device 500a detects a request to reply to photo 2 in the messaging conversation (indicated by touch contacts 801a-u selecting selectable option 806a-4). Figure 8V In response to receiving a request to reply to photo 2 in the messaging conversation, device 500a displays an overlay Figure 8U 804a is shown in FIG. 804a. The reply user interface 832a includes a representation 860a of Photo 2, indicating that the message composed in the reply user interface 832a will be added to the messaging conversation as a reply to Photo 2. The reply user interface 832a also includes a soft keyboard and a text input field 825a. Figure 8VIn the example of , a user of device 500a (Bob) has selected an input sequence pointing to the soft keyboard to compose a reply message to Photo 2 that includes the text "Great photo!" (indicated by the text displayed in text input field 825a). After the user has completed composing the reply message, device 500a detects a request to add the composed reply message ("Great photo!") to the messaging conversation (indicated by touch contacts 801a-v selecting a selectable option in text input field 825a). Figure 8V-1 In response to device 500a receiving the request to add the composed reply message to the messaging session, device 500a adds the composed reply message to the messaging session and updates messaging user interface 802a to indicate that the reply message to photo 2 has been successfully added to the messaging session. Figure 8V-1 , device 500a updates messaging user interface 802a to include representation 862a of a reply message added to the messaging conversation and line 866a connecting representation 862a to representation 864a of photo 2 (indicating that the message corresponding to representation 862a is a reply to photo 2 in the messaging conversation).

[0303] In some embodiments, the electronic device optionally initiates a process of saving a specific content item included in the message corresponding to the visual indication 816a. Figure 8V-1 , electronic device 500a detects selection of representation 814a-3 of Photo 2 (indicated by a tap of touch contact 801a-v-1 on representation 814a-3 of Photo 2). Figure 8W In response to device 500a detecting selection of representation 814a-3 of photo 2, electronic device 500a displays user interface 804a-3, as previously described and shown above. Figure 8X , while electronic device 500a is displaying user interface 804a-3, electronic device 500a detects selection of selectable option 806a-5 (indicated by a tap of touch contact 801a-x on selectable option 806a-5). Figure 8X The optional option 806a-5 is selected in Figure 8Y , electronic device 500a updates user interface 804a-3 to include menu 835a. Menu 835a includes selectable option 834a that, when selected, causes electronic device 500a to save photo 2 to a photo application installed on device 500a, and selectable option 836a that, when selected, causes electronic device 500a to stop displaying menu 835a in user interface 804a and not save photo 2 to electronic device 500a. Figure 8Z, while electronic device 500a is displaying menu 835a in user interface 804a-3, electronic device 500a detects selection of selectable option 834a (indicated by a tap of touch contacts 801a-z on selectable option 834a). Figure 8AA In response to device 500a detecting the Figure 8Z Upon selection of selectable option 834a in the menu, electronic device 500a saves Photo 2 to a photo application installed on device 500a and stops displaying menu 835a.

[0304] As previously described, in some embodiments, selectable option 806a-1 may be selected to cause electronic device 500a to initiate a process of sharing photo 2 with one or more users (eg, devices associated with one or more users). Figure 8AA , electronic device 500a detects selection of selectable option 806a-1 (indicated by touch contact 801a-aa tapping selectable option 806a-1). Figure 8AB In response to device 500a detecting the Figure 8AA 806a-1 in the selection of selectable option 806a-1, electronic device 500a updates user interface 804a-3 to include menu 840a. Menu 840a includes indication 840a-4 indicating that selectable options 840a-1, 840a-2, 840a-3, 840a-5, 840a-6, 840a-7, and 804a-8 are associated with shared photo 2. Menu 840a also includes representations of messaging conversations accessible to device 500a (e.g., messaging conversations in which the user of device 500a participates), including a first messaging conversation (e.g., between the user of device 500a (Bob), Alice, and Sam) Fig. 8A2, a representation 840a-5 of a second messaging session between the user of device 500a (Bob) and a user named X, a representation 840a-6 of a third messaging session between the user of device 500a (Bob) and a user named Y, a representation 840a-8 of a fourth messaging session between the user of device 500a (Bob) and a user named Z, and a representation 840a-1 of a fifth messaging session between the user of device 500a (Bob) and a user named U. Representations 840a-1, 840a-5, 840a-6, 840a-7, and 840a-8 are selectable, and when selected, cause electronic device 500a to compose a message including photo 2 in the messaging session corresponding to the selected representation. In addition, menu 840a also includes an optional option 840a-3 that, when selected, causes the electronic device 500a to compose a new message including photo 2 in a messaging application installed on device 500a, and also includes an optional option 840a-2 that, when selected, causes the electronic device 500a to compose a new email including photo 2 in an email application installed on device 500a.

[0305] As previously mentioned, in some embodiments, selectable option 805a may be selected to cause electronic device 500a to display a display including Figure 8V-1 816a (e.g., displaying a representation of the content item included in the message corresponding to visual indication 816a). Figure 8AC , while device 500a is displaying user interface 804a-3, device 500a detects selection of selectable option 805a (indicated by a tap of touch contacts 801a-cc on selectable option 805a). Figure 8AD In response to electronic device 500a detecting selectable option 805a, electronic device 500a displays user interface 842a. User interface 842a includes representation 848-1 of photo 1, representation 848-2 of photo 5, representation 848-3 of photo 2, and representation 848a-4 of photo 4 (e.g., representations of photos included in the message corresponding to visual indication 816a). Figure 8AD As shown in , device 500a displays representations 848-1 through 848-4 in a grid layout (eg, the representations are arranged in rows and columns).

[0306] In some embodiments, the device 500a displays a representation in the user interface 842a with one or more indications indicating that one or more tap returns (e.g., message tags) have been added to the corresponding photo in the messaging conversation. Figure 8ADAs shown in , device 500a is displaying an indication 852a-1 of a heart tap back and an indication 852a-1 of a thumbs-up tap back because, as previously described, the device associated with user Sam added a heart tap back to photo 2 in the messaging session, and because user Bob of device 500a added a thumbs-up tap back to photo 2 (e.g., the photo corresponding to representation 848a-3) in the messaging session. User interface 842a also includes: optional option 846a, which, when selected, causes device 500a to enter a content selection mode that allows selection of one or more representations displayed in user interface 842a; optional option 854a, which, when selected, causes device 500a to initiate a process of sharing photos corresponding to representations 848a-1 to 848-4 with one or more users (e.g., with devices associated with the one or more users); optional option 856a, which, when selected, causes device 500a to initiate downloading of photos corresponding to representations 848-1 to 848-4 to device 500a (e.g., downloading included in the photos corresponding to representations 848-1 to 848-4). Figure 8AD and selectable option 858a, which when selected causes device 500a to initiate composing a reply message to a corresponding Figure 8AD In addition, the user interface 842a also includes an indication 850a indicating information about the photos included in the user interface 842a. Specifically, the indication 850a indicates the total number of photos displayed in the user interface 842a, and how many photos of the total number of photos displayed in the user interface 842a have been saved to the electronic device 500a.

[0307] In some embodiments, the representations of the photos displayed in the user interface 842a are selectable, and these representations, when selected, cause the device 500a to display a user interface associated with the photo corresponding to the selected representation. Figure 8AE , while device 500a is displaying user interface 842a, electronic device 500a detects a selection of representation 848a-2 of photo 5 (indicated by a tap of touch contact 801a-ee on representation 848a-2 of photo 5). Figure 8AF In response to device 500a detecting the Figure 8AE Upon selection of representation 848-2 of Photo 5 in the display, device 500a displays user interface 804a-2 for Photo 5, as previously shown and described (eg, corresponding to the photo representation 848a-2).

[0308] exist Figure 8AGIn FIG. 8 , while electronic device 500a is displaying user interface 804a-2, electronic device 500a detects selection of selectable option 805a (indicated by a tap of touch contact 801a-gg on selectable option 805a). Figure 8AH In response to device 500a detecting the Figure 8AG When the selectable option 805a is selected, the electronic device 500a displays the previously selected Figure 8AD The user interface 842a shown and described in FIG. Figure 8AI , while the electronic device is displaying user interface 842a, electronic device 500a detects selection of selectable option 856a (indicated by a tap of touch contact 801a-ii on selectable option 856a). Figure 8AJ In response to electronic device 500a detecting selection of selectable option 856a, the electronic device initiates a process of downloading one or more of the photos corresponding to representations 848-1 to 848-4. Figure 8AJ As shown in , if none of the photos corresponding to representations 848-1 to 848-4 have been previously downloaded to the electronic device 500a, the electronic device 500a displays a menu 862a that includes a selectable option 862a that, when selected, causes the electronic device 500a to save the photos (photo 1, photo 2, photo 4, and photo 5) corresponding to representations 848-1 to 848-4 to the electronic device 500a, and includes a selectable option 864a that, when selected, causes the electronic device 500a to stop displaying the menu 863a and not save the photos corresponding to representations 848-1 to 848-4 to the electronic device 500a. Figure 8AJ , electronic device 500a detects selection of selectable option 862a (indicated by a tap of touch contact 801a-jj on selectable option 862a). In response to device 500a detecting selection of selectable option 862a, device 500a saves the photos (Photo 1, Photo 2, Photo 4, Photo 5) corresponding to representations 848a-1 through 848-4 to a photo application installed on device 500a.

[0309] exist Figure 8AK In the device 500a, photos 1, 2, 4 and 5 are saved to Figure 8AJ After the photo application installed on the device 500a is saved, the device 500a stops displaying the menu 863a and updates the indication 850a. Specifically, the electronic device 500a changes the indication 850a from indicating that none of the photos corresponding to the representations 848-1 to 848-4 are saved to the device 500a (eg, Figure 8AH ) is updated to indicate that all photos corresponding to representations 848-1 through 848-4 have been saved to device 500a.

[0310] In some embodiments, device 500a optionally allows a user of device 500a to select one or more of the representations displayed in user interface 842a, and optionally save those selected representations to device 500a. Figure 8AL , electronic device 500a is displaying user interface 842a, while none of the photos corresponding to representations 848-1 through 848-4 have been saved to device 500a (indicated by indication 850a including the text "0 photos saved"). Figure 8AM 848-1 through 848-4 are saved to device 500a, device 500a detects a request to enter a content selection mode that allows selection of one or more of the representations displayed in user interface 842a (indicated by a tap of touch contacts 801a-mm on selectable option 846a). In response to device 500a detecting that Figure 8AM The input in Figure 8AN , device 500a enters content selection mode (indicated by device 500a switching from displaying selectable option 846a (“Select”) to displaying selectable option 847a (“Cancel”)). Figure 8AO , after electronic device 500a enters content selection mode, device 500a detects a selection of representation 848a-1 of Photo 1 (indicated by a tap of touch contact 801a-oo on representation 848a-1 of Photo 1). Figure 8AP In response to detecting Figure 8AO In response to the selection of representation 848a-1 shown in FIG, electronic device 500a selects representation 848a-1 of photo 1 and displays an indication 849a-1 indicating that device 500a currently has representation 848a-1 selected. Figure 8AQ , electronic device 500a detects selection of representation 848a-2 of photo 5 (indicated by a tap of touch contact 801a-qq on representation 848a-2 of photo 5) while device 500a currently has representation 848a-1 selected (indicated by indication 849a-1). Figure 8AR In response to device 500a detecting a selection of representation 848a-2, device 500a selects representation 848a-2 of photo 5 and displays an indication 849a-2 indicating that device 500a currently has representation 848a-2 selected. Figure 8AS , electronic device 500a detects a request to select representation 848a-3 of photo 2 (indicated by a tap of touch contact 801a-ss on representation 848-3 of photo 2) while device 500a currently has representation 848a-1 of photo 1 and representation 848a-2 of photo 5 selected (indicated by indications 849a-1 and 849-2). Figure 8ATIn response to device 500a detecting the Figure 8AS In response to selection of representation 848a-3 in FIG. 1 , electronic device 500a selects representation 848a-3 of photo 2 and displays indication 849a-3 indicating that representation 848-3 is currently selected by indication device 500a.

[0311] exist Figure 8AU , when representations 848a-1 through 848a-3 corresponding to photos 1, 5, and 2 are currently selected (indicated by indications 849a-1, 849a-2, and 849a-3), electronic device 500a detects selection of selectable option 856a (indicated by a tap of touch contact 801a-uu on selectable option 856a). In some embodiments, if electronic device 500a detects selection of selectable option 865a when one or more representations in user interface 842a are selected, electronic device 500a initiates a process for downloading photos corresponding to the selected representations. For example, in Figure 8AV , in response to detecting a selection of selectable option 864a when representation 848a-1 of photo 1, representation 848a-2 of photo 5, and representation 848a-3 of photo 2 are currently selected, device 500a displays menu 870a that includes selectable option 872a that, when selected, causes electronic device 500a to save the photos corresponding to the selected representations (photos 1, 2, and 5) to electronic device 500a. Additionally, in Figure 8AV , electronic device 500a detects selection of selectable option 872a (indicated by a tap of touch contact 801a-tt on selectable option 872a). In response to device 500a detecting selection of selectable option 872a, device 500a saves the photos corresponding to the selected representation (photos 1, 2, and 5) to a photo application installed on device 500a. Figure 8AW , after device 500a saves photos 1, 2, and 5 to device 500a, device 500a stops displaying menu 870a and updates indication 850a. Specifically, device 500a changes indication 850a from indicating that none of the photos corresponding to representations 848a-1 to 848a-4 have been saved to device 500a (e.g., Figure 8AL ) is updated to indicate that three of the photos corresponding to representations 848a-1 through 848a-4 have been saved to device 500a.

[0312] In some embodiments, the electronic device 500a optionally receives a request to re-save one or more photos previously saved to the electronic device 500a. Figure 8AX, when three of the photos corresponding to representations 848a-1 through 848a-4 have been saved to device 500a (indicated by indication 850a including the text "3 photos saved"), device 500a receives a request to enter a content selection mode that allows selection of one or more of the representations displayed in user interface 842a (indicated by a tap of touch contact 801a-vv on selectable option 846a), as previously described. Figure 8AY In response to device 500a detecting Figure 8AX , device 500a enters content selection mode (indicated by device 500a switching from displaying selectable option 846a (“Select”) to displaying selectable option 847a (“Cancel”)). In some embodiments, when device 500a is in content selection mode, device 500a displays a visual indication in user interface 842a corresponding to a representation of a photo previously saved to device 500a. Specifically, Figure 8AY In the example, because photos 1, 2, and 5 were previously saved to electronic device 500a, device 500a displays indication 876a-1 at representation 848a-1, displays indication 876a-2 at representation 848-3 of photo 2, and displays indication 876a-5 at representation 848-2 of photo 5, indicating that photos 1, 2, and 5 were previously saved to device 500a.

[0313] In addition, Figure 8AY , when device 500a is displaying indication 876a-5 indicating that photo 5 is currently saved to electronic device 500a and when device 500a is currently in content selection mode, device 500a detects selection of representation 848a-2 of photo 5 (indicated by a tap of touch contact 801a-yy on representation 848a-2 of photo 5). Figure 8AZ , in response to device 500a detecting selection of representation 848a-2 of photo 5, device 500a selects representation 848a-2 and updates the visual appearance of indication 876a-5 from indicating that photo 5 is currently saved to device 500a to indicating that device 500a currently has representation 848a-2 of photo 5 selected. Figure 8AAA , while representation 848a-2 of photo 5 is currently selected, device 500a detects selection of selectable option 856a (indicated by a tap of touch contact 801a-aaa on selectable option 856a). In some embodiments, if electronic device 500a detects selection of selectable option 846a and the selected representation corresponds to a photo that was previously saved to device 500a, then electronic device 500a initiates a process of re-saving the photos to device 500a. For example, in Figure 8AAB, in response to detecting a selection of selectable option 856a when representation 848a-2 of photo 5 is currently selected and when photo 5 is currently saved to electronic device 500a, the electronic device displays menu 878a. Menu 878a includes selectable option 880a that, when selected, causes the electronic device to resave photo 5 (e.g., the photo corresponding to the selected representation) to device 500a. In addition, selectable option 880a includes an indication identifying the selected photo that has been saved to device 500a ("Photo 5 has been saved to photo library, do you want to resave?").

[0314] exist Figure 8 AAC , while device 500a is displaying menu 878a, device 500a detects selection of selectable option 880a (indicated by a tap of touch contact 801a-ccc on selectable option 880a). Figure 8AAD In response to device 500a detecting selection of selectable option 880a, device 500a re-saves photo 5 to the photo application installed on device 500a and stops displaying menu 878a in user interface 842a. Figure 8AAD As shown in , device 500a continues to display indication 850a indicating that three photos (photos 1, 2, and 5) of photos corresponding to representations 848a-1 through 848a-4 have been saved to device 500a.

[0315] In some embodiments, selectable option 856a may be selected to save the remaining photos corresponding to representations 848a-1 through 848-4 that were not previously saved to electronic device 500a. Figure 8AAE , when three of the four photos (photos 1, 2, and 5) corresponding to representations 848a-1 through 848a-4 have been saved to device 500a (indicated by indication 850a including the text "3 photos saved"), device 500a detects selection of selectable option 856a (indicated by a tap of touch contact 801a-eee on selectable option 856a). Figure 8AAF In response to device 500a detecting the Figure 8AAE848a-1 to 848a-4 are currently saved to the device 500a, the device 500a displays a menu 884a. The menu 884a includes a selectable option 886a that, when selected, causes the device 500a to save the photos corresponding to the representations 848-1 to 848-4 that are not currently saved to the device 500a to the device 500a, and includes a selectable option 888a that, when selected, causes the device 500a to stop displaying the menu 884a without saving the photos corresponding to the representations 848a-1 to 848a-4 that are not currently saved to the device 500a. In addition, the selectable option 886a indicates which of the photos corresponding to the representations 848a-1 to 848-4 have been previously saved to the device 500a, and which of the photos corresponding to the representations 848a-1 to 848a-4 have not yet been saved to the device 500a.

[0316] exist Figure 8AAG , while electronic device 500a is displaying menu 884a, electronic device 500a detects selection of selectable option 886a (indicated by a tap of touch contact 801a-ggg on selectable option 886a). In response to device 500a detecting selection of selectable option 886a, device 500a saves photo 4 to a photo application installed on device 500a (e.g., saves photos corresponding to representations 848a-1 through 848a that were not previously saved to device 500a). Figure 8AAH , after device 500a saves photo 4 to device 500a, device 500a stops displaying menu 884a and updates indication 850a. Specifically, device 500a changes indication 850a from indicating that three of the photos corresponding to representations 848a-1 to 848a-4 have been saved to device 500a (e.g., Figure 8AAD ) is updated to indicate that all photos corresponding to representations 848a-1 through 848a-4 have been saved to device 500a (all photos saved).

[0317] In some embodiments, the electronic device receives a request to reply to a photo corresponding to representations 848a-1 to 848a-4 in the messaging session. Figure 8AAH 842a, the electronic device detects a request to reply to photos 1, 2, 4, and 5 in the messaging conversation (e.g., the device 500 receives a request to reply to the message corresponding to visual indication 816a) (indicated by touch contact 801a-hhh selecting selectable option 858a). In response to receiving the request to reply to photos 1, 2, 4, and 5 in the messaging conversation, the device 500a displays the selected photo overlay. Figure 8U8. Reply user interface 832a on user interface 804a shown in . Reply user interface 832a includes a visual indication 890a of a message in the messaging conversation that includes photos 1, 2, 4, and 5. Reply user interface 832a also includes a soft keyboard and a text input field 825a.

[0318] exist Figure 8 AAI In the example of , a user of device 500a (Bob) has provided an input sequence directed to a soft keyboard for composing a reply message to a message corresponding to visual indication 890a, the reply message including the text "Great photo!" (indicated by the text displayed in text input field 825a). After the user of device 500a has completed composing the reply message, device 500a detects a request to add the composed reply message ("Great photo!") to the messaging conversation (indicated by touch contact 801a-iii selecting a selectable option in text input field 825a). Figure 8AAJ In response to device 500a receiving the request to add the composed reply message to the messaging session, device 500a adds the reply message to the messaging session and updates messaging user interface 802a to indicate that the reply to the message corresponding to visual indication 816a has been successfully added to the messaging session. Figure 8AAJ , device 500a updates the messaging user interface 802a to include a representation 863a of a reply message added to the messaging conversation by device 500a and a line 867a connecting the visual indication 863a to the representation 816a of the reply message (indicating that the message corresponding to representation 816a is a reply to the message corresponding to the visual indication 863a).

[0319] As previously described, in some embodiments, electronic device 500a receives a request to share photos corresponding to representations 848a-1 to 848-2 with one or more users. Figure 8AAK , electronic device 500a detects selection of selectable option 854a (indicated by touch contact 801a-bbb tapping selectable option 854a). Figure 8AAL In response to device 500a detecting the Figure 8AAKUpon selection of selectable option 854a in the menu, electronic device 500a displays menu 840a. Menu 840a includes indication 840a-4 indicating that selectable options 840a-1, 840a-2, 840a-3, 840a-5, 840a-6, 840a-7, and 804a-8 are associated with sharing four photos (photos 1, 2, 4, and 5). Menu 840a also includes representations of messaging conversations accessible to device 500a (e.g., messaging conversations in which the user of device 500a participates), including a first messaging conversation (e.g., between the user of device 500a (Bob), Alice, and Sam) Fig. 8A 840a-5 of a first messaging session between the user of device 500a (Bob) and a user named X, a second messaging session between the user of device 500a (Bob) and a user named X, a third messaging session between the user of device 500a (Bob) and a user named Y, a fourth messaging session between the user of device 500a (Bob) and a user named Z, and a fifth messaging session between the user of device 500a (Bob) and a user named U. Representations 840a-1, 840a-5, 840a-6, 840a-7, and 840a-8 are selectable, and when selected, cause the electronic device to compose a message including photos 1, 2, 4, and 5 in the messaging session corresponding to the selected representation. In addition, menu 840a also includes an optional option 840a-3 that, when selected, causes the electronic device 500a to compose a new message including photos 1, 2, 4, and 5 in a messaging application installed on device 500a, and also includes an optional option 840a-2 that, when selected, causes the electronic device 500a to compose a new email including photos 1, 2, 4, and 5 in an email application installed on device 500a.

[0320] Fig. 9 900 is a flow chart illustrating a method of selecting and displaying a user interface associated with a content item in a messaging session. Method 900 is optionally performed at an electronic device such as device 100, device 300, device 500, device 500a, device 500b, as described above with reference to Figure 1A to Figure 1B , Figures 2 to 3 , FIG. 4A to FIG. 4B and FIG. 5A to FIG. 5H Some operations in method 900 are optionally combined, and / or the order of some operations is optionally changed.

[0321] As described below, method 900 provides a way for an electronic device to display a user interface associated with one or more content items in a messaging session and / or to add a messaging activity to one or more content items in a messaging session. The method reduces the cognitive burden on a user when interacting with the device user interface of the present disclosure, thereby creating a more efficient human-computer interface. For battery-powered electronic devices, improving the efficiency of user interaction with the user interface saves power and increases the time between battery charges.

[0322] In some embodiments, method 900 is performed at an electronic device that communicates with a display generation component and one or more input devices (e.g., a mobile device (e.g., a tablet device, a smart phone, a media player, or a wearable device), a computer (e.g., a desktop computer, a laptop computer), or a wearable device (e.g., a watch, a head-mounted device), optionally in communication with one or more of a mouse (e.g., external), a trackpad (optionally integrated or external), a remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), a handheld device (e.g., external), and / or a controller (e.g., external, etc.), or a set-top box that communicates with one or more input devices (e.g., a remote control). In some embodiments, the display generation component is a display (optionally a touch screen display) integrated with the electronic device, an external display such as a monitor, a projector, a television, or a hardware component (optionally integrated or external) for projecting a user interface or making a user interface visible to one or more users, etc.

[0323] In some embodiments, the electronic device displays (902) via a display generation component a messaging user interface that includes a messaging session associated with multiple users (e.g., in some embodiments, the messaging user interface has one or more characteristics of the messaging user interface described in method 700), wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session (e.g., such as the visual indication described with reference to method 700 when one or more criteria are met or not met), and the first visual indication includes representations of multiple content items (e.g., photos, videos, and / or other media items, etc.) included in the first messaging activity, such as Figure 8B816a included in the messaging user interface 802a. For example, the electronic device displays a visual indication of a messaging activity added by an electronic device having access rights to the messaging session. In some embodiments, in addition to representations of multiple content items, the visual indication also includes a representation of the typed message (e.g., including text). In some embodiments, the first visual indication is displayed by the electronic device because the electronic device receives an indication that a device associated with a corresponding user among multiple users has added a new message to the messaging session. In some embodiments, the first visual indication includes one or more representations of the content items because the electronic device that adds the first messaging activity to the messaging session detects a sequence of one or more inputs for adding the content items to the first messaging activity. In some embodiments, the content items are of the same type (e.g., the content items correspond to only images / photos) or different types (e.g., the content items correspond to both images and videos).

[0324] While displaying the messaging user interface, the electronic device receives (904) via one or more input devices a selection corresponding to a first content item of a plurality of content items included in the first messaging activity (such as a Figure 8B In some embodiments, the first input corresponds to a selection of a first content item based on determining that a first representation of a first content item among the multiple content items is visually emphasized in a first visual indication when the first input is received. For example, when the visual indication is selected, the first content item is displayed with a higher visual prominence than other content items also included in the visual indication. For example, the first content item is displayed at the top of a stack of content items, while the other content items in the stack are located below the first content item.

[0325] In some embodiments, in response to receiving the first input (906), the electronic device displays (908) via the display generation component a first user interface associated with the first content item and including one or more selectable options that can be selected to add a corresponding messaging activity to a messaging conversation related to the first content item, such as Figure 8CIn some embodiments, when the electronic device detects the selection of the first visual indication, the content items included in the first visual indication are displayed in a stack (e.g., a collection). In some embodiments, the stack of content items displays one content item at a time (e.g., visually emphasizing one content item), and the input pointing to the stack of content items causes the stack to display (e.g., visually emphasize) the new content item in the stack. In some embodiments, the way of displaying content items in the visual indication is similar to the way of displaying content items in method 700. In some embodiments, when the visual indication is selected, the stack visually emphasizes the first content item (e.g., the current cover photo in the stack). In some embodiments, different parts of the visual indication of the first messaging activity are selectable. For example, the text in the first messaging activity is selectable and the stack of content items is also selectable. In some embodiments, when a specific photo in other content items also displayed in the visual indication is visually emphasized, in response to selecting the stack, the electronic device displays a user interface (e.g., a first user interface) including a selectable option for transmitting (e.g., adding) the messaging activity to the messaging session. For example, in some embodiments, the first user interface includes one or more selectable options for transmitting a reply to a first content item (or optionally multiple content items) in a messaging conversation and / or for transmitting (e.g., adding) tags to the first content item (e.g., adding reactions such as "like," "heart," "question mark," emphasis, and laughter).

[0326] The above-mentioned method of displaying the user interface associated with the content item visually emphasized in the corresponding visual indication when the visual indication is selected provides an efficient way to access the user interface associated with the visually emphasized content item and for adding messaging activities related to the content item in a messaging session, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0327] In some embodiments, while displaying a messaging user interface in which a first representation of a first content item is visually emphasized in a first visual indication, the electronic device receives, via one or more input devices, a second input corresponding to a swipe input on the first visual indication, such as Figure 8BWhether the touch input 801a-b in corresponds to a swipe gesture rather than a selection gesture. For example, when the representation corresponding to the first content item is visually emphasized in the stack, the electronic device receives a second input corresponding to a drag or swipe gesture. In some embodiments, the second input includes a movement that meets one or more criteria. In some embodiments, if the second input is a vertical swipe or drag gesture, the movement of the second input does not meet one or more second criteria, but updates the order of the content items in the stack, and the electronic device scrolls through the messaging user interface, optionally including scrolling the stack of content items out of view on the display.

[0328] In some embodiments, in response to receiving the second input, the electronic device updates the first visual indication to visually emphasize a second representation of a second content item in the plurality of content items that is different from the first content item, such as if the touch contact 801a-b corresponds to Figure 8B , the device 500 displays the representation 814a-2 of photo 2 at the top of the stack. For example, if the first representation of the first content item is displayed with the highest priority in the first visual indication (e.g., at the top of the stack) when the first input is received, then in response to the second (e.g., swipe) input, the second representation of the second content item is displayed with the highest priority (e.g., at the top of the stack). In some embodiments, therefore, the second representation of the second content item is moved from the corresponding position in the stack to the top of the stack (e.g., the first position in the stack), and the corresponding positions of other content items in the stack are also rearranged accordingly.

[0329] In some embodiments, while displaying the updated first visual indication, the electronic device receives, via one or more input devices, a third input corresponding to a selection of a second content item from among the multiple content items included in the first visual indication of the first messaging activity (e.g., in some embodiments, based on determining that a second representation of a second content item that is different from the first content item from among the multiple content items is visually emphasized in the first visual indication when the third input is received, the third input corresponds to the selection of the second content item). In some embodiments, in response to receiving the third input, a second user interface associated with the second content item and including one or more selectable options that can be selected to add the corresponding messaging activity to the messaging conversation related to the second content item is displayed via the display generation component, such as if the representation corresponding to photo 2 is displayed at the top of the stack, the device 500a displays Fig.8F804a-3 shown in (e.g., rather than the first content item in the plurality of content items). For example, because the representation of the second content item is visually emphasized when the electronic device detects the selection of the second content item, the electronic device displays a user interface associated with the second content item (e.g., corresponding to the content item of the representation that is visually emphasized). In some embodiments, the second user interface includes a selectable option for transmitting a reply to the second content item in a messaging session and / or for adding a tag to the second content item in a messaging session (e.g., adding tags such as "like" tags, "heart" tags, question mark tags, emphasis tags, laughter tags, etc.). In some embodiments, when the electronic device is displaying the second user interface, the electronic device switches to display the first user interface associated with the first content item in response to the electronic device detecting one or more inputs. The above-mentioned manner of displaying a user interface associated with a second content item when a representation of the second content item is visually emphasized in a visual indication of a message in a messaging conversation provides an efficient manner of accessing the user interface associated with the visually emphasized content item and for adding messaging activities related to the content item in the messaging conversation, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0330] In some embodiments, the representation of multiple content items in the first visual indication is associated with a certain order, such as Figure 8B 814a-1 to 814a-4 shown in . In some embodiments, the representations of the plurality of content items are associated with a particular order because the messaging activity corresponding to the first visual indication defines the priority of each content item. In some embodiments, the representations of the plurality of content items are sorted according to the priority of the corresponding content item in the first messaging activity.

[0331] In some embodiments, while displaying a first user interface associated with a first content item via a display generation component, wherein the first user interface includes a representation of the first content item (e.g., the electronic device is currently displaying a first user interface including a representation of a content item that is currently visually emphasized in a first visual indication), the electronic device receives, via one or more input devices, a second input corresponding to a request to switch to displaying a representation of a corresponding content item that is included in a plurality of content items and is different from the first content item. For example, when the electronic device is displaying a user interface including a representation of a content item that is currently visually emphasized in a first visual indication, the electronic device receives a request to display a representation of another content item that is also included in a first messaging activity (e.g., a messaging activity that corresponds to the first visual indication). In some embodiments, when the user swipes left or right, the electronic device detects the second input while the electronic device displays the first user interface.

[0332] In some embodiments, based on determining that the order associated with the representation of multiple content items in the first visual indication is a first order, the electronic device displays a second user interface associated with a second content item different from the first content item in the multiple content items via a display generation component, wherein the second user interface includes a representation of the second content item, such as the device 500 displays a user interface 804a-2 associated with the photo 5 (e.g., including a visual indication of the second content item (e.g., corresponding to the content of the second content item)). In some embodiments, the first messaging activity includes a first content item with a first priority, a second content item with a second priority, and a third content item with a third priority. In some embodiments, the first content item has the highest priority in the first messaging activity, the second content item has the second highest priority in the first messaging activity, and the third content item has the third highest priority in the first messaging activity (e.g., the first priority is higher than the second priority, and the second priority is higher than the third priority). In some embodiments, the priorities of the content items in the first messaging activity define the order associated with the representation of the content items in the first visual indication. For example, due to the priorities assigned to the content items in the first messaging activity, the order defines that the representation of the first content item is ordered before the representations of the second content item and the third content item (e.g., because the first content item is assigned the highest priority), defines that the representation of the second content item is ordered after the representation of the first content item and before the representation of the third content item (e.g., because the priority of the second content item is the second highest), and defines that the representation of the third content item is ordered after the representations of the first content item and the second content item (e.g., because the third content item is assigned the lowest priority). Therefore, in some embodiments, when the second input is received, the electronic device displays a representation of the content item that is immediately following or following the first content item in the first order. In some embodiments, if the electronic device detects that the user of the electronic device has swiped left, the electronic device displays a third user interface.

[0333] In some embodiments, based on determining that the order associated with the representation of multiple content items in the first visual indication is a second order different from the first order, the electronic device displays a third user interface associated with a third content item in the multiple content items that is different from the first content item and the second content item via a display generation component, wherein the third user interface includes a representation of the third content item (e.g., including a visual indication of the third content item (e.g., corresponding to the content of the third content item)), such as if the order of representations 814a-1 to 814a-4 is different, the device 500 displays a user interface associated with another content item. In some embodiments, the first messaging activity includes a first content item with a first priority, a second content item with a second priority, and a third content item with a third priority. In some embodiments, the first content item has the highest priority in the first messaging activity, the third content item has the second highest priority in the first messaging activity, and the second content item has the third highest priority in the first messaging activity (e.g., the first priority is higher than the third priority, and the third priority is higher than the second priority). In some embodiments, the priorities of the content items in the first messaging activity define the order associated with the representation of the content items in the first visual indication. For example, due to the priorities assigned to the content items in the first messaging activity, the order defines that the representation of the first content item is ordered before the representations of the second content item and the third content item (e.g., because the first content item is assigned the highest priority), defines that the representation of the third content item is ordered after the representation of the first content item and before the representation of the second content item (e.g., because the priority of the third content item is the second highest), and defines that the representation of the second content item is ordered after the representations of the first content item and the third content item (e.g., because the second content item is assigned the lowest priority). Therefore, in some embodiments, when the second input is received, the electronic device displays a representation of the content item that is immediately following or following the first content item in the second order. In some embodiments, if the electronic device detects that the user of the electronic device has swiped right, the electronic device displays a third user interface.

[0334] The above-mentioned method of displaying a user interface associated with a second content item or a third content item upon receiving input while displaying a user interface of a first content item provides an efficient way of displaying user interfaces in an order associated with the content items, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0335] In some embodiments, after receiving the second input and while displaying a third user interface associated with a third content item in response to receiving the second input, the electronic device receives, via one or more input devices, a third input corresponding to a request to stop display of the third user interface and display a messaging user interface, such as input 801a-k of tapping a selectable option marked “Done”. For example, after the electronic device switches from displaying a user interface associated with the first content item to displaying a user interface associated with the second content item, the electronic device receives a request to navigate back to the messaging user interface. In some embodiments, the request is detected when the electronic device detects a selection of a selectable object that causes the electronic device to navigate back to the messaging user interface (e.g., selection of a “back” button).

[0336] In some embodiments, in response to receiving the third input, the electronic device stops displaying the third user interface and displays a messaging user interface via a display generation component, wherein the messaging user interface includes a first visual indication of the first messaging activity, and a third representation of a third content item in the plurality of content items is visually emphasized in the first visual indication of the first messaging activity, such as in Figure 8KAfter receiving the input in the electronic device, the electronic device visually emphasizes the representation 814a-3 of photo 2 with a visual indication 816a. For example, because the electronic device is displaying a user interface (e.g., a third user interface) associated with the first content item when a request to navigate back to the messaging user interface is received, the electronic device visually emphasizes the representation of the third content item in the first visual indication rather than the representation of other content items also included in the first visual indication. In other words, when the third input is received, the visual order of the representations of the content items included in the first visual indication is optionally adjusted. For example, in some embodiments, before displaying the first user interface and the third user interface (as described above), the representations of the content items are displayed in a first order. In some embodiments, if the representations of multiple content items are displayed in a stack, the first order corresponds to the order (e.g., position) of the representations in the stack. For example, if the first visual indication includes a representation of the first content item, a representation of the second content item, and a representation of the third content item displayed in a first order, the representation of the first content item is optionally displayed at the top of the stack, the representation of the third content item is optionally displayed at the second position in the stack, and the representation of the second content item is optionally displayed at the bottom of the stack (e.g., the last position in the stack). In some embodiments, in response to receiving the third input, the representations of the content items at the visual indication (e.g., representations of the first content, the second content, and the third content) are visually ordered differently. For example, after receiving the third input, the visual ordering of the representations of the content items is displayed according to the second order. For example, the representation of the third content is now displayed at the top of the stack, the representation of the second content is now displayed at the second position in the stack, and the representation of the first content is now displayed at the bottom (e.g., the last position in the stack).

[0337] The above-described manner of visually emphasizing the representation of a content item displayed on a corresponding user interface before detecting a request to navigate back to a messaging user interface provides an efficient manner of visually emphasizing different representations of a content item in a first visual indication, which simplifies the interaction between a user and an electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0338] In some embodiments, the one or more selectable options that can be selected to add a corresponding messaging activity to the messaging session related to the first content item include a corresponding selectable option that can be selected to initiate a process of responding to the first content item with at least one of a set of predefined responses, such as Fig.8FOptional options 806a-3 in . For example, the user interface associated with the first content item includes an optional option for initiating a process of adding a predefined response to the first content item in the messaging session. In some embodiments, the predefined response includes adding a "like" tag, a "heart" tag, a question mark tag, an emphasis tag, and / or a laughter tag to the first content item in the messaging session. In some embodiments, if the electronic device has added a corresponding tag (e.g., a predefined response) to the first content item, the corresponding tag is displayed with a first visual appearance, and other tags are displayed with a second visual appearance (e.g., indicating that other tags have not been added to the first content item in the messaging session by the electronic device). In some embodiments, the predefined response includes a predefined message determined based on the context of the first content item and the first messaging session. In some embodiments, when the electronic device detects a selection of a predefined response (e.g., a tag), the electronic device adds the predefined response to the messaging session. In some embodiments, other electronic devices associated with the user in the messaging session receive an indication that the electronic device has added the predefined response to the messaging session, and then display an indication of the predefined response in the messaging user interface.

[0339] The above-mentioned method including optional options for responding to corresponding content items in a messaging conversation provides an efficient way to respond to content items in a messaging conversation in a user interface other than the messaging user interface, which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0340] In some embodiments, based on determining that a corresponding user among the plurality of users has responded to a first content item in the messaging conversation, a first visual appearance (such as a first visual appearance) indicating a response of the corresponding user to the first content item is displayed. Figure 8K) displays the corresponding optional options. For example, the corresponding optional options visually indicate a predefined response (e.g., a tag) that has been added to the first content item in the messaging session. For example, if the device associated with the corresponding user "likes" the first content item in the first messaging session, the optional options visually indicate the "like" first content item. In some embodiments, if the second corresponding user (e.g., the device associated with the second corresponding user) has also added a predefined response (e.g., a tag) to the first content item in the messaging session, the optional options include an indication of the predefined response added by the second user. For example, if the device associated with the second corresponding user "likes" the first content item, the optional options visually indicate the "like" and "like" first content item in the messaging session. In some embodiments, the corresponding user is a user of the electronic device. Alternatively, in some embodiments, the corresponding user is another user in the messaging session.

[0341] In some embodiments, based on determining that the corresponding user has not yet responded to the first content item in the messaging conversation, a second visual appearance (such as Fig.8F 806a-3 in the messaging session). For example, if the electronic device is displaying selectable options when no user (e.g., a device associated with a user) has added a predefined response to a first content item in the messaging session, the selectable options do not visually indicate the predefined response that has been added to the first content item. In some embodiments, if the device associated with the second corresponding user has added a predefined response to the first content item in the messaging session, and the device associated with the corresponding user has not yet added the predefined response to the first content item. In some such embodiments, the selectable options indicate the predefined response added by the device associated with the second corresponding user, without indicating that the corresponding user has not yet responded to the first content item.

[0342] The above-mentioned manner of indicating a predefined response to a first content item that has been added to a messaging session at an optional option provides an efficient manner for indicating a current response to a first content item in a messaging session (for example, when the electronic device is not displaying the messaging session), which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient, which also reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0343] In some embodiments, initiating a process of responding to a first content item with at least one of a predefined response group includes displaying in a first user interface a menu including selectable elements corresponding to the predefined response group (e.g., a menu for adding reactions such as “like,” “heart,” question mark, emphasis, and / or laughter to the first content item), such as Figure 8J Menu 822a in.

[0344] In some embodiments, while displaying a menu including selectable elements corresponding to a predefined response group, a second input is received via one or more input devices, the second input corresponding to a selection of a corresponding element in the selectable elements that corresponds to a corresponding predefined response in the predefined response group (e.g., the electronic device detects a selection of one of the predefined responses), such as selecting Figure 8I Input 801a-i of the heart-shaped tag 822a-1 in.

[0345] In some embodiments, in response to receiving the second input, the electronic device adds a corresponding predefined response to the first content item to the messaging session, such as adding a heart-shaped symbol to the first content item. Figure 8L 2 in a messaging session in . For example, when a selectable option corresponding to one of...

Claims

1. A method comprising: At an electronic device in communication with a display generating component and one or more input devices: displaying, via the display generating component, a messaging user interface including a messaging session associated with a plurality of users, wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session, and the first visual indication includes representations of a plurality of content items included in the first messaging activity; receiving, while displaying the messaging user interface, via the one or more input devices, a first input corresponding to a selection of a first content item of the plurality of content items included in the first messaging activity, the plurality of content items comprising a first content item and a second content item; as well as In response to receiving the first input: displaying, via the display generating component, a first user interface associated with the first content item but not associated with the second content item and including one or more selectable options selectable to add a corresponding messaging activity to the messaging conversation related to the first content item but not to the second content item; receiving, via the one or more input devices, a second input while displaying the first user interface including the one or more selectable options, the second input including an input sequence corresponding to a selection of a first option of the one or more selectable options, wherein the input sequence corresponds to a second messaging activity related to the first content item; as well as After receiving the second input, the first visual indication is displayed in the messaging user interface, wherein the first visual indication is displayed together with a second visual indication corresponding to the second messaging activity corresponding to the second input.

2. The method according to claim 1, further comprising: while displaying the messaging user interface, wherein the first representation of the first content item is visually emphasized in the first visual indication, receiving, via the one or more input devices, a third input corresponding to a swipe input on the first visual indication; in response to receiving the third input, updating the first visual indication to visually emphasize a second representation of a second content item of the plurality of content items that is different from the first content item; while displaying the updated first visual indication, receiving, via the one or more input devices, a fourth input corresponding to a selection of the second content item of the plurality of content items included in the first visual indication of the first messaging activity; as well as In response to receiving the fourth input, displaying, via the display generating component, a second user interface associated with the second content item and including one or more selectable options selectable to add a corresponding messaging activity to the messaging conversation related to the second content item.

3. The method of claim 1 , wherein the representations of the plurality of content items in the first visual indication are associated with an order, the method further comprising: while displaying, via the display generation component, the first user interface associated with the first content item, wherein the first user interface includes a representation of the first content item, receiving, via the one or more input devices, a third input corresponding to a request to switch to displaying a representation of a corresponding content item included in the plurality of content items other than the first content item; as well as In response to receiving the third input: displaying, via the display generation component, a second user interface associated with a second content item of the plurality of content items that is different from the first content item, wherein the second user interface includes a representation of the second content item, based on determining that the order associated with the representations of the plurality of content items in the first visual indication is a first order; and Based on determining that the order associated with the representations of the multiple content items in the first visual indication is a second order different from the first order, a third user interface associated with a third content item of the multiple content items different from the first content item and the second content item is displayed via the display generation component, wherein the third user interface includes a representation of the third content item.

4. The method according to claim 3, further comprising: after receiving the third input and while displaying the third user interface associated with the third content item in response to receiving the third input, receiving, via the one or more input devices, a fourth input corresponding to a request to cease display of the third user interface and to display the messaging user interface; as well as In response to receiving the fourth input: Stop displaying the third user interface and display the messaging user interface via the display generating component, wherein the messaging user interface includes the first visual indication of the first messaging activity, and a third representation of the third content item among the plurality of content items is visually emphasized in the first visual indication of the first messaging activity.

5. A method according to claim 1, wherein the one or more selectable options that can be selected to add the corresponding messaging activity to the messaging session related to the first content item include a corresponding selectable option that can be selected to initiate a process of responding to the first content item with at least one of a set of predefined responses.

6. The method according to claim 5, wherein: Based on determining that a corresponding user of the plurality of users has responded to the first content item in the messaging conversation, displaying the corresponding selectable option with a first visual appearance indicative of the response of the corresponding user to the first content item, and Based on determining that the respective user has not responded to the first content item in the messaging conversation, displaying the respective selectable option with a second visual appearance different from the first visual appearance that does not indicate the response of the respective user to the first content item.

7. The method of claim 5, wherein initiating the process of responding to the first content item with at least one of the set of predefined responses comprises displaying a menu in the first user interface including selectable elements corresponding to the set of predefined responses, the method further comprising: receiving, via the one or more input devices, a third input corresponding to a selection of a respective one of the selectable elements corresponding to a respective predefined response in the set of predefined responses while displaying the menu including the selectable elements corresponding to the set of predefined responses; as well as In response to receiving the third input, the corresponding predefined response to the first content item is added to the messaging session.

8. The method according to claim 7, further comprising: In response to receiving the third input, an appearance of the corresponding selectable option in the first user interface is updated to indicate that the corresponding predefined response to the first content item has been added to the messaging session.

9. A method according to claim 1, wherein the one or more selectable options that can be selected to add the corresponding messaging activity to the messaging session related to the first content item include a corresponding selectable option that can be selected to initiate a process of replying to the first content item in the messaging session.

10. A method according to claim 1, wherein the first user interface includes a first representation of the first content item but does not include representations of other content items among the multiple content items, and the first user interface also includes a corresponding selectable option that can be selected to display a corresponding user interface including representations of the multiple content items.

11. The method according to claim 10, further comprising: receiving, via the one or more input devices, a third input corresponding to a selection of a respective one of the representations of the plurality of content items while displaying the respective user interface including the representations of the plurality of content items; and In response to receiving the third input: Based on determining that the respective representation belongs to the first content item, displaying, via the display generating component, the first user interface associated with the first content item and comprising the one or more selectable options selectable to add a corresponding messaging activity to the messaging session related to the first content item.

12. The method according to claim 10, further comprising: While displaying the respective user interface comprising the representations of the plurality of content items, wherein the representations of the plurality of content items include the first representation of the first content item: Based on determining that the first content item is associated with one or more predefined responses in the messaging conversation, one or more visual indications of the one or more predefined responses associated with the first representation of the first content item are displayed in the respective user interface.

13. The method of claim 10, wherein the corresponding user interface includes a corresponding selectable option that can be selected to initiate a process of saving at least one of the plurality of content items to the electronic device, the method further comprising: receiving, via the one or more input devices, a third input corresponding to a selection of the corresponding selectable option while displaying the corresponding user interface; as well as In response to receiving the third input: Based on determining that the subset of the at least one of the plurality of content items has been saved to the electronic device, displaying, via the display generation component, a confirmation user interface indicating that the subset of the at least one of the plurality of content items has been saved to the electronic device, and then saving the at least one of the plurality of content items to the electronic device; as well as Based on determining that the at least one of the plurality of content items has not been saved to the electronic device, saving the at least one of the plurality of content items to the electronic device without displaying the confirmation user interface.

14. The method according to claim 10, further comprising: when the corresponding user interface is displayed during a process of saving one or more selected content items of the plurality of content items to the electronic device, wherein the corresponding user interface includes the first representation of the first content item and before the one or more selected content items are saved to the electronic device according to the process: based on determining that the first content item has been saved to the electronic device, displaying in the corresponding user interface a visual indication associated with the first representation of the first content item having a first visual appearance; as well as Based on determining that the first content item has not been saved to the electronic device and the first content item has been selected for saving to the electronic device, displaying in the corresponding user interface a visual indication associated with the first representation of the first content item having a second visual appearance different from the first visual appearance.

15. The method of claim 11, wherein: The corresponding user interface includes a first corresponding selectable option that can be selected to initiate a process of saving the multiple content items to the electronic device, and the first user interface associated with the first content item includes a second corresponding selectable option that can be selected to initiate a process of saving the first content item to the electronic device without saving other content items of the multiple content items to the electronic device.

16. The method of claim 10, wherein: The respective user interface includes a first respective selectable option selectable to initiate a process of replying to the plurality of content items in the messaging conversation, and The first user interface associated with the first content item includes a second respective selectable option selectable to initiate a process of replying to the first content item in the messaging conversation without replying to other content items in the plurality of content items in the messaging conversation.

17. The method of claim 10, wherein: The respective user interface includes a first respective selectable option selectable to initiate a process of sharing the plurality of content items with a second electronic device different from the electronic device, and The first user interface associated with the first content item includes a second respective selectable option selectable to initiate a process of sharing the first content item with the second electronic device without sharing other content items of the plurality of content items with the second electronic device.

18. The method of claim 10, wherein the corresponding user interface includes status information associated with the plurality of content items.

19. An electronic device comprising: one or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the following operations: displaying, via a display generating component, a messaging user interface including a messaging session associated with a plurality of users, wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session, and the first visual indication includes representations of a plurality of content items included in the first messaging activity; receiving, while displaying the messaging user interface, via one or more input devices, a first input corresponding to a selection of a first content item of the plurality of content items included in the first messaging campaign, the plurality of content items comprising a first content item and a second content item; as well as In response to receiving the first input: displaying, via the display generating component, a first user interface associated with the first content item but not associated with the second content item and including one or more selectable options selectable to add a corresponding messaging activity to the messaging conversation related to the first content item but not to the second content item; receiving, via the one or more input devices, a second input while displaying the first user interface including the one or more selectable options, the second input including an input sequence corresponding to a selection of a first option of the one or more selectable options, wherein the input sequence corresponds to a second messaging activity related to the first content item; as well as After receiving the second input, the first visual indication is displayed in the messaging user interface, wherein the first visual indication is displayed together with a second visual indication corresponding to the second messaging activity corresponding to the second input.

20. 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, cause the electronic device to perform a method comprising: displaying, via a display generating component, a messaging user interface including a messaging session associated with a plurality of users, wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session, and the first visual indication includes representations of a plurality of content items included in the first messaging activity; receiving, while displaying the messaging user interface, via one or more input devices, a first input corresponding to a selection of a first content item of the plurality of content items included in the first messaging campaign, the plurality of content items comprising a first content item and a second content item; as well as In response to receiving the first input: displaying, via the display generating component, a first user interface associated with the first content item but not associated with the second content item and including one or more selectable options selectable to add a corresponding messaging activity to the messaging conversation related to the first content item but not to the second content item; receiving, via the one or more input devices, a second input while displaying the first user interface including the one or more selectable options, the second input including an input sequence corresponding to a selection of a first option of the one or more selectable options, wherein the input sequence corresponds to a second messaging activity related to the first content item; as well as After receiving the second input, the first visual indication is displayed in the messaging user interface, wherein the first visual indication is displayed together with a second visual indication corresponding to the second messaging activity corresponding to the second input.

21. An electronic device, comprising: one or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for executing any one of the methods according to claims 1 to 18.

22. A non-transitory computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, which, when executed by one or more processors of an electronic device, cause the electronic device to perform any one of the methods according to claims 1 to 18.

23. A method comprising: At an electronic device in communication with a display generating component and one or more input devices: displaying, via the display generating component, a messaging user interface including a messaging session associated with a plurality of users, wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session, and the first visual indication includes a plurality of representations of a plurality of content items included in the first messaging activity; while displaying the messaging user interface, receiving, via the one or more input devices, one or more inputs corresponding to a request to add a messaging activity to the messaging session; as well as In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a request to reply to a first representation of a first content item in the plurality of content items, simultaneously displaying in the messaging user interface: the first visual indication of the first messaging activity in the messaging session; and A second representation of the first content item, wherein the second representation of the first content item is displayed separately from the first visual indication of the first messaging activity in the messaging conversation.

24. The method of claim 23, wherein the second representation of the first content item is different from the first representation of the first content item of the plurality of content items.

25. A method according to claim 23, wherein, based on determining that the one or more inputs correspond to the request to reply to the first representation of the first content item among the multiple content items, the second representation of the first content item is not displayed together with representations of content items among the multiple content items other than the first content item within the added messaging activity.

26. The method of claim 23, further comprising: In response to receiving the one or more inputs: wherein based on determining that the one or more inputs correspond to the request to reply to the first representation of the first content item in the plurality of content items, the messaging user interface is updated to include a visual indication of the reply to the first representation of the first content item.

27. The method of claim 26, wherein the visual indication of the reply to the first representation of the first content item and the second representation of the first content item are connected by a line in the messaging user interface.

28. The method of claim 26, wherein there is no messaging activity in the messaging session between the reply to the first representation of the first content item and the first messaging activity.

29. The method of claim 23, further comprising: In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to the request to reply to the first representation of the first content item among the multiple content items, a second user interface is displayed via the display generation component, the second user interface being different from the messaging user interface, overlaid on the messaging user interface, associated with the first content item but not associated with the second content item, and including a third representation of the first content item and one or more selectable options for providing the reply to the first representation of the first content item.

30. The method of claim 29, wherein the third representation of the first content item is different from the first representation and the second representation of the first content item included in the messaging user interface.

31. A method according to claim 30, wherein the messaging user interface associated with the multiple representations of the multiple content items includes a selectable option that can be selected to display a second user interface that includes representations of the multiple content items and is different from the messaging user interface.

32. The method of claim 31, wherein the second user interface includes a first corresponding selectable option that can be selected to initiate a process of replying to the plurality of content items in the messaging conversation.

33. The method of claim 23, further comprising: In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a request to reply to a first representation of a second content item of the plurality of content items that is different from the first content item, simultaneously displaying in the messaging user interface: the first visual indication of the first messaging activity in the messaging session; and A second representation of the second content item, wherein the second representation of the second content item is displayed separately from the first visual indication of the first messaging activity in the messaging conversation.

34. The method of claim 23, further comprising: In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a request to reply to the plurality of content items, the first visual indication of the first messaging activity in the messaging conversation is displayed in the messaging user interface without displaying a second representation of the first content item in the messaging user interface.

35. The method of claim 23, wherein the messaging user interface includes a first visual indication of a second messaging activity, wherein the second messaging activity is a text messaging activity.

36. The method of claim 35, further comprising: In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a request to reply to the first visual indication of the second messaging activity: displaying in the messaging user interface a first visual indication of the reply to the first visual indication of the second messaging activity; and Based on determining that one or more criteria are met: Also displayed in the messaging user interface: the first visual indication of the second messaging activity in the messaging session; and a second visual indication of the second messaging activity, wherein the second visual indication of the second messaging activity is displayed separately from the first visual indication of the second messaging activity in the messaging session; as well as Upon determining that one or more of the criteria are not met: The first visual indication of the second messaging activity in the messaging session is displayed in the messaging user interface without displaying an additional visual indication of the second messaging activity in the messaging session.

37. The method of claim 23, further comprising: In response to receiving the one or more inputs: Based on determining that the one or more inputs do not correspond to a request to reply to any messaging activity in the messaging session, a first visual indication of a second messaging activity in the messaging session corresponding to the one or more inputs is displayed in the messaging user interface without displaying additional visual indications of messaging activities in the messaging session.

38. The method of claim 23, wherein the request to reply to the first representation of the first content item of the plurality of content items corresponds to a first type of reply, the method further comprising: In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a second request to reply to the first representation of the first content item among the plurality of content items, wherein the second request corresponds to a second type of reply different from the first type of reply, a first visual indication of a second messaging activity corresponding to the second request is displayed in the messaging user interface without displaying an additional representation of the first content item.

39. An electronic device comprising: one or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for: displaying, via a display generating component, a messaging user interface including a messaging session associated with a plurality of users, wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session, and the first visual indication includes a plurality of representations of a plurality of content items included in the first messaging activity; while displaying the messaging user interface, receiving, via one or more input devices, one or more inputs corresponding to a request to add a messaging activity to the messaging session; as well as In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a request to reply to a first representation of a first content item in the plurality of content items, simultaneously displaying in the messaging user interface: the first visual indication of the first messaging activity in the messaging session; and A second representation of the first content item, wherein the second representation of the first content item is displayed separately from the first visual indication of the first messaging activity in the messaging conversation.

40. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by one or more processors of an electronic device, cause the electronic device to perform a method comprising: displaying, via a display generating component, a messaging user interface including a messaging session associated with a plurality of users, wherein the messaging user interface includes a first visual indication of a first messaging activity in the messaging session, and the first visual indication includes a plurality of representations of a plurality of content items included in the first messaging activity; while displaying the messaging user interface, receiving, via one or more input devices, one or more inputs corresponding to a request to add a messaging activity to the messaging session; as well as In response to receiving the one or more inputs: Based on determining that the one or more inputs correspond to a request to reply to a first representation of a first content item in the plurality of content items, simultaneously displaying in the messaging user interface: the first visual indication of the first messaging activity in the messaging session; and A second representation of the first content item, wherein the second representation of the first content item is displayed separately from the first visual indication of the first messaging activity in the messaging conversation.

41. An electronic device comprising: one or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods according to claims 23 to 28.

42. A non-transitory computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by one or more processors of an electronic device, cause the electronic device to perform any of the methods according to claims 23 to 28.

Citation Information

Patent Citations

  • Method and apparatus for integrating manual input

    US20020015024A1

  • Gestures for touch sensitive input devices

    US20060026521A1

  • Gestures for touch sensitive input devices

    US20060026536A1

  • Virtual input device placement on a touch screen user interface

    US20060033724A1

  • Multipoint touchscreen

    US20060097991A1