在Map-view中,我正確地獲取了從源到目的地的路線。但我想在map-view中獲取路由方向列表。我在下面添加了一個示例鏈接,同樣我也需要。是否有可能在iPhone?如果是的話,請幫助我如何。 http://thumblines.com/2012/02/05/driving-directions-in-native-ios-and-android-apps/ 現在我使用下面的代碼,但它不工作。在MKMapview中如何獲取ios中行車路線的列表
NSString *googleMapsURLString = [NSString stringWithFormat:@"http://maps.google.com/?saddr=%1.6f,%1.6f&daddr=%1.6f,%1.6f", start.latitude, start.longitude, end.latitude, end.longitude];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:googleMapsURLString]];
這與mapkit無關。 – 2013-05-06 15:53:04