![](/img/trans.png)
[英]GMSAutocompleteViewController iOS, How to change placeholder color & Cancel button color in searchControllers?
我使用的是 GMSAutocompleteViewController,但占位符和取消按鈕沒有清晰顯示。 為此,我想更改占位符顏色和取消按鈕顏色。 我怎樣才能做到這一點。 請幫幫我。 ...
[英]GMSAutocompleteViewController iOS, How to change placeholder color & Cancel button color in searchControllers?
我使用的是 GMSAutocompleteViewController,但占位符和取消按鈕沒有清晰顯示。 為此,我想更改占位符顏色和取消按鈕顏色。 我怎樣才能做到這一點。 請幫幫我。 ...
[英]SWIFT limit google maps placeAPI autocomplete to certain country
我已經實現了谷歌地圖地方 API GMSAutocomplete。 它工作正常。 但是,每次輸入地址號碼時,我都會看到很多不相關的外國地址。 我想知道是否可以對地點 API 設置限制,以便結果僅顯示某個國家/地區的地址? 例如加拿大? 在我點擊 func (到 autocompleteViewCo ...
[英]Google AutoComplete Not Populating TableView
我正在使用Google自動完成搜索地址。 我在控制台中得到結果,但是,這沒有填充到TableView中。 重新加載表時,我在主隊列中。 我得到結果中對象數量的打印計數。 SearchResultsController 表格檢視 控制台輸出 任何 ...
[英]GMSAutocompleteResultsViewController shows limited results?
我將GMSAutocompleteResultsViewController用於Google自動完成搜索位置。 當我用此搜索時,它顯示的結果非常有限。它並不顯示所有結果。 而且,當它在android中使用時,它會顯示許多結果。 請讓我知道我在想什么。 ...
[英]Google search places API getting only 2 places?
我使用以下代碼搜索地點並獲取在api( https://maps.googleapis.com/maps/api/place/queryautocomplete/json?input=%@&key=My_Key )下使用的地點列表。 工作正常,但每次搜索僅顯示兩個位置。 但是GMSA ...
[英]How to customise GMSAutocompleteViewController for iOS?
我在 ios 中使用 Google 自動完成 placekicker。 它向我展示了具有本機設計的控制器。 我想自定義它的導航欄顏色。但我無法做到。 下面是代碼 ...
[英]show segue(programmatically) when selecting place from GMSAutocompleteResultsViewController
我在通過show segue綁定到新的viewcontroller時遇到一些問題。 我已經能夠使用當前的segue,但想使用推送/顯示導航堆棧。 我收到此錯誤...“正在發生現有的轉換或演示;將不會更新導航堆棧。” 感謝您的任何幫助! //從homecontroller搜索到sear ...
[英]Google Places iOS - Can't load search result
我在我的iOS項目中使用了Google Places API的GMSAutoCompleteViewController。 今天突然,我的GMSAutoCompleteViewController繼續給我錯誤“無法加載搜索結果”。 我已經使用新的API密鑰重新生成了我的API密鑰。 ...
[英]GMSAutocompletePrediction prediction.attributedFullText not give nsmutablestring in swift 3.0
我在快速項目中使用GMSAutocompleteFetcher搜索地點。 在這里我安裝了帶有Pod的'GooglePlaces'GooglePlacePicker''GoogleMaps',並按照鏈接https://developers.google.com/places/ios-api/au ...
[英]Swift 3 iOS -Google GMSAutoComplete malfunctioning since upgrade
錯誤標題: 我正在使用Google GMSAutocompleteViewController 。 我在AppDelegate中有我的API密鑰,Swift 3 Xcode 8的最新版本,導入GoogleMaps和導入GooglePlacesAPI位於vc和appDelegat ...
[英]Storing Google Places ID and passing to UIView
我在從Google地方信息存儲地方詳細信息時遇到了一些問題。 我可以很好地構建應用程序,但是當我從GMSAutocompleteViewController選擇一個位置時崩潰……“無法將類型'GMSPlace'(0x10075bec8)的值強制轉換為'NSString'(0x1afec1398 ...
[英]Bias Google Places results to a specific region
我正在使用官方的Google文檔來創建地址查找。 在Android版本中,我可以將結果偏向我所在的地區。 例如,鍵入“ 123 Main St”會先顯示我鎮上的Main st,然后再顯示其他結果。 在iOS中,我不知道該怎么做。 我在GMSAutocompleteViewCo ...
[英]GMSAutoComplete not showing correct position on map when finished
我在我的Objective C視圖中使用Google Maps API自動完成功能,以允許用戶搜索地址,然后在我的應用程序的地圖上顯示該地址。 這可以正常工作,並且自動完成視圖會加載,允許您填寫它,然后消失並在地址文本框中顯示您的地址。 該地圖不會定位在您的位置,而是似乎停留在先前的位置,除 ...
[英]Adding a search bar to Google Place Picker(GMSPlacePicker)
我是iOS應用程序開發人員的新手。 我正在使用谷歌地方選擇器( GMSPlacePicker ),它看起來很好,但沒有看到搜索GMSPlacePicker 。 我該如何添加搜索欄? 我指的是https://developers.google.com/places/ios-api/place ...
[英]GMSAutocompleteViewController want to get text which is in searchbar on search click
嗨,我使用過 GMSAutocompleteViewController 全屏控件。 https://developers.google.com/places/ios-api/autocomplete#add_an_autocomplete_ui_control 我無法獲得由搜索欄事件和 tex ...
[英]Google Places autocomplete does not exist in GoogleMaps SDK
我已經使用CocoaPods將GoogleMaps導入到我的項目中: 然后,我嘗試import <GoogleMaps/GoogleMaps.h>並使用GMSAutocompleteViewController但該項目中不存在它! 我正在嘗試實現委托GMSAutocom ...
[英]Google maps autocomplete change color
我正在尋找GMSAutocompleteViewController更改顏色 這是我得到的: 我希望文本字段為白色,帶有白色取消按鈕。 ...
[英]How to get latest GoogleMaps SDK using pods
我正在試用 google places sdk 示例。 我安裝它使用 pod 試試 GoogleMaps 我使用 cocoapods 安裝了 GoogleMaps (1.10.5) 來源' https://github.com/CocoaPods/Specs.git ' 平台:ios,'8.1' ...