Patent ID: 11868606
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. An electronic device, comprising:
a display;
a touch-sensitive surface;
one or more processors; and
memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for:
displaying a list comprising information corresponding to a plurality of messages;
detecting a contact on the touch-sensitive surface at a respective location corresponding to a respective message;
detecting a gesture that includes continuous movement of the contact in a first direction, without breaking contact with the touch-sensitive surface, at a location on the display corresponding to a message of the plurality of messages;
in response to the gesture that includes continuous movement of the contact in the first direction exceeding a threshold distance, displaying a search input element;
receiving a search query into the search input element comprising at least one search term for searching messages in a messaging application;
in response to receiving the search query, determining whether one or more messages in the messaging application include the at least one search term;
determining, for each of the one or more messages in the messaging application including a search term, a field where the search term is found within the message, wherein the search term can appear in one or more of a plurality of different predetermined locations; and
displaying one or more message query result groups, each query result group based on a different predetermined location and comprising the one or more messages in the messaging application including the search term in the corresponding predetermined location.