1

I am making an app that takes your current location and determines the tax of the state you're in. So, I need to use reverse geocoding. I have found a few tutorials and similar questions on this site, but I haven't found anything that pertains to xcode, isn't outdated, and shows me what I need to do (more than an api). If anyone can help me, even by just giving me a link to a good tutorial, it would be greatly appreciated

Bob Jones
  • 360
  • 5
  • 16

1 Answers1

5

MKReverseGeocoder is deprecated as of iOS 5.0, so you have to use the class CLGeoCoder and a method called reverseGeocodeLocation.

Luckily for you, Apple has even an example on how to achieve what you are looking for.

Look out for "Geocoding a location using CLGeocoder" in the link below:

http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/LocationAwarenessPG/UsingGeocoders/UsingGeocoders.html

I hope this helps!

AlexanderN
  • 2,610
  • 1
  • 26
  • 42