title: Add Search Bar on the picker list SwiftUI
body: <p>I tap on picker it will open screen with list of element on that screen, can we add Search Bar?</p>
  
  <p>I implemented Country Picker, in the country list I am showing country name and country code so on that list screen add Search bar find out country easily.</p>
  
  <pre><code>struct ContentView: View {
  
      //All Country get from the plist with country Code and Coutnry Name.
      let countyList = Country().getAllCountyInfo()
  
      // Selected Country
      @State private var selectedCountry = 0
  
      var body: some View {
  
  
          NavigationView {
              Form {
                  Picker(selection: $selectedCountry, label: Text("Country")) {
  
                      ForEach(countyList) { country in
  
                          HStack{
                              Text(country.countryName ?? "")
                              Spacer()
                              Text(country.countryCode ?? "")
                          }
                      }
                  }
              }
              .navigationBarTitle("Select country picker")
          }
  
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bl7xO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bl7xO.jpg" alt="enter image description here"></a></p>
  
  <p>by run above code it will open a country list like above screen.</p>
  
  <p>on the above screen (country list).</p>
  
  <p>How can I add search bar to filter country data?</p>