以下代码无法在iPhone上打开Google地图应用程序,并且从一点到另一点导航,但是当我将同一个URL复制到桌面浏览器时,谷歌地图。使用Objective-C开始在ios上的多个目的地导航使用Objective-C
如何在Google地图应用中开始导航?
if([[UIApplication sharedApplication] canOpenURL:
[NSURL URLWithString:@"comgooglemaps://"]])
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
}
Yuvaraj芥兰你能告诉你的代码,你怎么申请? – user3182143
通过这个 - https://stackoverflow.com/questions/41392092/google-maps-directions-url-error-when-adding-multiple-waypoints/41449231#41449231 – user3182143