If I supply an address as a NSString. How can I use mapkit to show me a map with that location centered and a push pin showing that address? What's the easiest way to do this?
EDIT: Is there a way 开发者_如何学Pythonto call the built-in Maps app to do that for me?
You'll need to forward geocode the address to obtain GPS coordinates. This data is available from third parties like Google via their Geocoding API. Here's a tutorial on forward geocoding using Google APIs.
Take note of their terms of use.
精彩评论