来自文档demo
// open the earthquake info in Maps
// create a map region pointing to the earthquake location
CLLocationCoordinate2D location = (CLLocationCoordinate2D) { earthquake.latitude, earthquake.longitude };
NSValue *locationValue = [NSValuevalueWithMKCoordinate:location];
MKCoordinateSpan span = (MKCoordinateSpan) {2.0, 2.0 };
NSValue *spanValue = [NSValuevalueWithMKCoordinateSpan:span];
NSDictionary *launchOptions =@{ MKLaunchOptionsMapTypeKey :@(MKMapTypeStandard),
MKLaunchOptionsMapCenterKey : locationValue,
MKLaunchOptionsMapSpanKey : spanValue,
MKLaunchOptionsShowsTrafficKey : @(NO),
MKLaunchOptionsDirectionsModeDriving : @(NO)};
// make sure the map item has a pin placed on it with the title as the earthquake location
MKPlacemark *placemark = [[MKPlacemarkalloc] initWithCoordinate:location
addressDictionary:nil];
MKMapItem *mapItem = [[MKMapItemalloc] initWithPlacemark:placemark];
[mapItemsetName:earthquake.location];
[mapItemopenInMapsWithLaunchOptions:launchOptions];