in my application, I got a map that show the location of the user. But I also need to get the ex开发者_JS百科act address of where he is and put it in a string.
How does it work?
Use MKReverseGeocoder. Look at the Apple sample app CurrentAddress.
The placemark object passed into didFindPlacemark has the address fields which you can put into a string.
精彩评论