IOS 7 MKMapView No voice turn in corner

I don’t get voice guidance when calling Apple map directions.

Here is my code.

CLLocationCoordinate2D userCoord = [self.userLocation coordinate]; CLLocationCoordinate2D opponentCoord = [self.opponentLocation coordinate]; MKPlacemark *fromPlace = [[MKPlacemark alloc] initWithCoordinate:userCoord addressDictionary:nil]; MKPlacemark *destinationPlace = [[MKPlacemark alloc] initWithCoordinate:opponentCoord addressDictionary:nil]; MKMapItem *fromItem = [[MKMapItem alloc] initWithPlacemark:fromPlace]; fromItem.name = @"Current Location"; MKMapItem *destinationItem = [[MKMapItem alloc] initWithPlacemark:destinationPlace]; destinationItem.name = self.game[@"opponent"]; NSArray *items = @[fromItem, destinationItem]; NSDictionary *options = @{MKLaunchOptionsDirectionsModeKey:MKLaunchOptionsDirectionsModeDriving, MKLaunchOptionsMapTypeKey:@(MKMapTypeStandard), MKLaunchOptionsShowsTrafficKey:@YES}; [MKMapItem openMapsWithItems:items launchOptions:options]; 

The navigation volume on my iPhone 5S is set to Normal, and I restarted my phone. Step-by-step voice instructions work fine all the time, but not from my application.

+6
source share

Source: https://habr.com/ru/post/957191/


All Articles