Reverse Geocode in iOS w/ CLGeocoder

Screen Shot 2014-01-07 at 4.16.22 PM

If you’re using CLLocationManager to obtain the user’s location, you can add some code in the delegate method to reverse geocode the user’s location…

Alloc-init a CLGeocoder and call reverseGeocodeLocation: w/ the location passed in (or any location) and a completion handler.

I’m storing it in a instance variable to use later. Here’s some code to print out the details…

It’s fairly simple. I’ll look at forward geocoding soon.

Comments are closed.