watsonbox / ios_google_places_autocomplete

Google Places address entry for iOS (Swift)
MIT License
269 stars 72 forks source link

set default searchText #26

Open johisco opened 8 years ago

johisco commented 8 years ago

Is it possible to set default search text, lets say i enter a text in a totally seperate textfield, and later prompt the ios_google_places_autocomplete view (gpaViewController)

is it possible to there set the searchBar.text ?

guess what I'm looking for is something like :

gpaViewController.searchBar.text = "My preset address"