1

I am a signup form which has bunch of text fields like name, phone, address 1st line, city, state etc.

Can I use googles's Place Autocomplete on this form in such a way that when I start typing address 1st line in one of the fields it suggests/auto completes and fills the city and state

1st question, is it possible, if yes are there any examples or tutorials?

There are examples out there but they use autocomplete UI, I want to be able to use my own edit text fields.

T_C
  • 3,148
  • 5
  • 26
  • 46
  • 2
    yes it is possible..just request to google places api which gives you all the information of places in response and you insert those response e.g. address,city,street, to the textfields. – LC 웃 Feb 12 '16 at 06:45
  • @anishparajuli do you know any examples or code snippents – T_C Feb 12 '16 at 06:47
  • yeah sure https://developers.google.com/places/ios-api/autocomplete – LC 웃 Feb 12 '16 at 06:51

1 Answers1

1

So Yes I was able to do exactly what I wanted.

I had two dependencies for this. 1. AutoComplete Text Field 2. Google's Place AutoComplete

T_C
  • 3,148
  • 5
  • 26
  • 46