以下のコードを使用して、場所の始点と終点を渡す iOS アプリケーションから Google マップを開きます。
開始点から終了点まで正しくナビゲートしますが、オーディオ (音声)をガイドしません。
音声案内機能を有効にしたい。
助けてください
ClientState *clientState = [ClientState sharedInstance];
CLLocation *currentLocation = clientState.currentLocation;
NSString *googleMapsURLString = [NSString stringWithFormat:@"maps://maps.google.com/?xyz=xyz&saddr=%1.8f,%1.8f&daddr=%@,%@",
currentLocation.coordinate.latitude, currentLocation.coordinate.longitude, trip.pickupLatitude, trip.pickupLongitude];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:googleMapsURLString]];