Search code examples
objective-ciosdictionarystreet-address

Predictive Street Address for iOS App?


I'm developing an iOS app and I want to be able to have a textfield for users to enter in an address and when you enter in a character for the street name, a pop up below the textfield will appear suggesting the street name.

Does anyone know whether something like this already exists? Alternatively, if someone has any suggestions? Basically, I want to have a field for a user to enter in their start location and then another field for the user to enter in their destination location, but instead of relying solely on the user knowing how to spell the street name; was hoping for something like I mentioned above.

Thanks in advance.


Solution

  • I answered a very similar question recently.

    You can use a UISearchDisplayController and implement the autocomplete features by invoking the forward geocoding at every letter typed by the user.

    You can look at my answer here