How to do geocoding (NOT reverse geocoding) on ​​iPhone?

I wonder why the iPhone API exists for reverse geocoding (lat / long to address), but NOT for regular geocoding (address for lat / long).

I want to be able to display the annotation on a map (MKMapView) at the address entered by the user. (As text, not touching the map) As far as I can tell, this means that I have to define lat / long for the address entered.

It looks like this can be done using HTTP, but then Reverse Geocoding could ALSO be done that way. Why do they support one and not the other?

Answers "why?" or how? "will both be appreciated.

*** Has anyone found out anything new on this topic? Any announcements I haven't heard about?

+5
source share
4 answers

Merrimack wrote an answer here with a useful example.

Forward Geocoding from iPhone

Have a good blog post about him

http://blog.sallarp.com/ipad-iphone-forward-geocoding-api-google/

+4
source

, , :

As a note to brainjam, since the iOS 5 Apple CLGeocoder class supports forward geocoding .

+1
source

I am looking at the source code available from:

http://www.pragprog.com/screencasts/v-bdmapkit/using-the-map-kit

What part does pre-geocoding use?

thanks

0
source

All Articles