10

Unable to use Googleplaces SDk, No where I'm using "UISearchDisplayController" in my project. So searched in my project which is showing in GooglePlaces

enter image description here

I'm no where using "GMSAutocompleteTableDataSource", I'm Using "GMSAutocompleteResultsViewController" for getting the places.

  • Can you please post your code? UISearchDisplayController has been deprecated since iOS 8. – evan Nov 03 '19 at 11:54

3 Answers3

17

When adding a searchBar to UIViewController in Storyboard, the UISearchBarDisplayController will be added. Just click to it add press 'Delete' enter image description here

Tung Dang
  • 246
  • 3
  • 7
10

I have just removed searchDisplayController used in storyboard viewController.

Search for searchDisplayController and just remove it and it's outlet if created.

enter image description here

Hardik Vyas
  • 1,973
  • 1
  • 20
  • 43
0

I have a search Display Controller in my storyboard, which is not pulling up when i search like this. so search with "searchDisplayController" in each storyBoards. Referred from this post