Questions tagged [gmsautocomplete]
23 questions
8
votes
6 answers
How to customise GMSAutocompleteViewController for iOS?
I am using Google autocomplete placekicker in ios. It shows me controller with native design. I want to customise it's navigation bar colour.But I am not able to do it.
Below is the code
let autocompleteController =…

TechChain
- 8,404
- 29
- 103
- 228
5
votes
4 answers
How to get latest GoogleMaps SDK using pods
I'm trying out the google places sdk sample. I installed it using
pod try GoogleMaps
I installed GoogleMaps (1.10.5) using cocoapods
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
pod 'GoogleMaps'
checking the…

Ted
- 22,696
- 11
- 95
- 109
4
votes
4 answers
Google Places iOS - Can't load search result
I am using GMSAutoCompleteViewController from Google Places API in my iOS Project.
Suddenly today my GMSAutoCompleteViewController keeps on giving me error "Can't load Search Results".
I have regenerated my API Key using fresh one. I have tried…

Shah
- 4,990
- 10
- 48
- 70
4
votes
6 answers
Google maps autocomplete change color
I am searching for change color of GMSAutocompleteViewController
Here is what I am getting:
I want the textfield to be white with white cancel button.

Pan Mluvčí
- 1,242
- 2
- 21
- 42
3
votes
1 answer
Swift 3 iOS -Google GMSAutoComplete malfunctioning since upgrade
Error caption:
I'm using Google GMSAutocompleteViewController.
I have my API key in AppDelegate, the most recent pod for Swift 3 Xcode 8, the import GoogleMaps and import GooglePlacesAPI are at the top of the vc and in appDelegate, and my internet…

Lance Samaria
- 17,576
- 18
- 108
- 256
2
votes
1 answer
GMSAutocompletePrediction prediction.attributedFullText not give nsmutablestring in swift 3.0
I use GMSAutocompleteFetcher in my swift project to search places. Here I install 'GooglePlaces''GooglePlacePicker' 'GoogleMaps' with pods and write all things as in link
https://developers.google.com/places/ios-api/autocomplete#use_the_fetcher
…

shivang pandya
- 23
- 6
2
votes
3 answers
GMSAutocompleteViewController want to get text which is in searchbar on search click
Hi i have used GMSAutocompleteViewController full-screen control.
https://developers.google.com/places/ios-api/autocomplete#add_an_autocomplete_ui_control
i am not able to get keyboard search click event tried by searchbar event and…

Nisha
- 354
- 2
- 19
2
votes
0 answers
Is there a way to pre-populate the GMSAutocompleteViewController with a data array of current nearby locations?
I've tried to generate a likelihood list of places with the currentPlaceWithCallback, which works fine. However, I'm having difficult figuring out a way to insert the information gathered from this likelihood list into the view of the…

Daniel Hsu
- 96
- 4
2
votes
2 answers
Google Places API, GMSAutocomplete search only for City, Country iOS Swift
I have setup the Google GMSAutocomplete like so:
private func setupAutocompleteWithTextFieldController() {
let kTextFieldTop: CGFloat = searchField.frame.origin.y
let kTextFieldHeight: CGFloat = 44.0
let kContentRectTop = kTextFieldTop +…

oyalhi
- 3,834
- 4
- 40
- 45
1
vote
1 answer
GMSAutocompleteViewController iOS, How to change placeholder color & Cancel button color in searchControllers?
I'm using a GMSAutocompleteViewController but the placeholder and Cancel button is not appearing clearly. For this I want to change the placeholder color and the cancel button color. How can I do that. Please help me out.
user10469417
1
vote
0 answers
Enabled Google Places ApiKey also Shows Can't load search results in iOS Swift
I have enabled Google Places Api from console which is same as my Google Maps ApiKey, and i have updated pod version from 2.7.0 to 3.0.3. and i have regenerated ApiKey also still i am not getting search results.
please help me to sort out this…

Swift
- 1,074
- 12
- 46
1
vote
1 answer
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…

TechChain
- 8,404
- 29
- 103
- 228
1
vote
1 answer
Google places - GMSAutocompleteViewController didAutocompleteWith full text
This is the delegate function in my viewController :
func viewController(_ viewController: GMSAutocompleteViewController, didAutocompleteWith place: GMSPlace) {
print("Place name: \(place.name)")
print("Place address:…

Nitish
- 13,845
- 28
- 135
- 263
1
vote
1 answer
Storing Google Places ID and passing to UIView
I am having some issues storing place details from Google Places. I can build the app fine but then crashes when I select a place from the GMSAutocompleteViewController...
"Could not cast value of type 'GMSPlace' (0x10075bec8) to 'NSString'…

user3708224
- 1,229
- 4
- 19
- 37
1
vote
2 answers
Bias Google Places results to a specific region
I am using the official Google Documentation to create the Address lookup.
In the Android version I am able to bias the result to my area.
For example typing in "123 Main St" shows the Main st in my town first before showing me other results.
In iOS…

JasonBourne
- 338
- 2
- 13