iphone - iOS : How to enable Audio directions on Google Maps -
i using below code open google maps ios application passing starting , end point of places.
it navigates correctly start point end point not guide through audio (voice).
i want enable voice guidance facility.
please help
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]];
the maps app handle sound guidance you. not need enable it. if open apple maps url scheme or google maps app, guide user via sound if have sound turned on. voice directions work on phones apple maps app. iphone 5 , 4s have voice direction, while iphone 4 , 3gs not. there no siri on iphone 4, there no siri voice navigation.
see this thread on apple discussion.
iphone ios objective-c ipad google-maps
No comments:
Post a Comment