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.
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"]]
No, unfortunately. I assume you mean add it as a bookmark of course, given that recents and contacts are more 'dynamic' lists.
精彩评论