AppsDev
AppsDev

Reputation: 12499

Getting street names in iOS

I need to offer users a way to type an address in an UITextField with an autocompletion functionality as user is introducing the text. I've been looking for the best way to implement this, but I'm still not sure: is it possible to get a list of street names for a certain city? Or should I being provided such information in another and custom way (service request, a file with that information...)?

My application is for iOS 7+

Thanks

Upvotes: 1

Views: 669

Answers (1)

user1548843
user1548843

Reputation: 670

You can do this by using Google Places autocomplete API.This api provide you addreess that you want in list.

For More info please refer this example that help you to how to use Google Places autocomplete with your application

https://maniacdev.com/2013/10/ios-completion-providing-search-with-autocompletion-and-map-marking-using-google-places

you can find sample code for the same on Github find Below link for this

https://github.com/chenyuan/SPGooglePlacesAutocomplete

Hope this may help you.

Upvotes: 2

Related Questions