如何在IOS7中显示从当前位置到目的地的路线方向

如何在IOS7中显示从当前位置到目的地的路线方向,ios,map,routes,Ios,Map,Routes,您好,在我的应用程序中,我有地图导航,我有目标点,现在要从当前位置导航到目标,但它不工作 我的导航码 - (IBAction)direction:(id)sender { NSString *urlString =@"http://maps.apple.com/maps?daddr=12.9259,77.6229"; [[UIApplication sharedApplication]openURL:[NSURL URLWithString:urlString]]; } 当我点击按钮时

您好,在我的应用程序中,我有地图导航,我有目标点,现在要从当前位置导航到目标,但它不工作

我的导航码

- (IBAction)direction:(id)sender {
  NSString *urlString =@"http://maps.apple.com/maps?daddr=12.9259,77.6229";
  [[UIApplication sharedApplication]openURL:[NSURL URLWithString:urlString]];
}
当我点击按钮时,我使用了上面的代码

directions not available A route cannot be determined form this start location.
像这样,我进入地图请告诉我如何解决这个问题,我在上面的代码做错事

谢谢