IPhone Mapkit: How can I get the real name / address of a business from longitude / latitude?

I am writing an iPhone application and am trying to figure out how to find a brand name / address from a current GPS location (longitude / latitude). For example, if someone is using an app from inside Starbucks, how can I find out from my location? Is there a way to do this using mapkit or any API / Webservice?

+2


source to share


2 answers


You can do this with MKReverseGeocoder by providing MKReverseGeocoderDelegate . It's actually pretty simple.



The representative will provide you with all kinds of information in the form of MKPlacemark .

+2


source


You can get the address (MKReverseGeocoder), but you cannot get the company name using the native iPhone SDK. I believe both Google and Bing provide APIs for this, but the one I like to use (and may have the most momentum) is Foursquare's.



0


source







All Articles