How do you use the .searchable modifier and not have the search appear on each destination view?

So, I have a list in a NavigationView and a .searchable modifier on this NavigationView. I want to be able to search the list in the NavigationView but I don’t want the search bar to appear on any of the DetailView. Any help would be appreciated, Todd

Please take a look at the following article:

https://www.raywenderlich.com/26924502-swiftui-search-getting-started

This topic was automatically closed after 166 days. New replies are no longer allowed.