GMSAutocompleteResultsViewController shows limited results?

Multi tool use
Multi tool use


GMSAutocompleteResultsViewController shows limited results?



I am using GMSAutocompleteResultsViewController for google autocomplete search places. When I search with this it shows very limited results.It does not show all results. Moreover when it is used in android it shows many results. Kindly let me know what I am missing.


override func viewDidLoad() {
super.viewDidLoad()

resultsViewController = GMSAutocompleteResultsViewController()
resultsViewController?.delegate = self

searchController = UISearchController(searchResultsController: resultsViewController)
searchController?.searchResultsUpdater = resultsViewController

// Put the search bar in the navigation bar.
searchController?.searchBar.sizeToFit()
navigationItem.titleView = searchController?.searchBar

// When UISearchController presents the results view, present it in
// this view controller, not one further up the chain.
definesPresentationContext = true
// Prevent the navigation bar from being hidden when searching.
searchController?.hidesNavigationBarDuringPresentation = false
}









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

TxsX,O,cEnbPrCFZcH,naT
7077jIak,xGKe6,i2VVAssmd5HyZ6LdqO ZiXNL F4EC W6az 3nD xpdGI51BY,C4,rtahNidHHT7dX

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications