Search code examples
objective-cios6-mapsapple-maps

add address to apple map


any one know how to add an address to apple map,

for example if I want to add this address "Rickmansworth, Hertfordshire WD3, Regno Unito" to map, how can I do that? I do not have latitude or longitude.

I searched in google, I did not find anything useful.

Can anyone help me?

thank you


Solution

  • You need to geocode the address into geographic coordinates. Use one of the geocoding services, like geonames. After getting results from geocoding service, you have to parse them and display as MKAnnotationViews on your MKMapView