© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
W. WangPro iPhone Development with SwiftUIhttps://doi.org/10.1007/978-1-4842-7827-7_9

9. Adding Search to an App

Wallace Wang1  
(1)
San Diego, CA, USA
 
If you open the Contacts app on an iPhone, you’ll see a list of people whose names and contact information you’ve saved. When you want to find a particular person, you could scroll through your list or jump to a specific area alphabetically. However, it’s much faster to just search for that data by typing text into a search bar as shown in Figure 9-1.
Figure 9-1

The search bar appears in the Contacts app on an iPhone ...

Get Pro iPhone Development with SwiftUI: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.