iOS Swift - Lists and Data Display
How can you modify this searchable list to show a message "No results found" when the filtered list is empty?
List(filteredItems, id: \.self) { item in
Text(item)
}
.searchable(text: $searchText)