I'm using below method to get autocomplete result for input string of GMSPlacesClient class:
- (void)autocompleteQuery:(NSString *)query
bounds:(GMSCoordinateBounds * GMS_NULLABLE_PTR)bounds
filter:(GMSAutocompleteFilter * GMS_NULLABLE_PTR)filter
callback:(GMSAutocompletePredictionsCallback)callback
I tried to implement bounds by multiple ways but none of them worked, I wonder if there is any standard way to get country specific results with GMSCoordinateBounds?
Looks like Google autocomplete Places API for iOS doesn't support filtering by country.
GMSCoordinateBoundsuses the northEast and southWest bounds corresponding to the rectangular region defined by the two corners.It might be easier to use Google Places API Web Service and filter with
components=country:You can specify what country you want aftercountry: