0

Is there a way to add a location from an MKMapView in my application to the built-in Google Maps app?

From what I understand there is probably one of two ways to do it: using [[UIApplication sharedApplication] openURL:xxx] (like opening a web address, writing an email, or dialling a number) or using a C-api like adding a contact to the address book.

conmulligan
  • 7,038
  • 6
  • 33
  • 44

2 Answers2

1

This question may have just the answer you're looking for, or maybe I misunderstood the question.

If you're not a link clicker:

[someUIApplication openURL:[[NSURL alloc] initWithString: @"http://maps.google.com/maps?g=London"]]
Community
  • 1
  • 1
jessecurry
  • 22,068
  • 8
  • 52
  • 44
0

No, unfortunately. I assume you mean add it as a bookmark of course, given that recents and contacts are more 'dynamic' lists.

refulgentis
  • 2,624
  • 23
  • 37