Posts

Post not yet marked as solved
0 Replies
366 Views
I am using Apple maps to show direction to a location from the users current location. The address details are updated in the addressDictionary.MKPlacemark *destination = [[MKPlacemark alloc] initWithCoordinate:endingCoord addressDictionary:addressDictionary]; MKMapItem *destinationItem = [[MKMapItem alloc] initWithPlacemark:destination]; NSMutableDictionary *launchOptions = [[NSMutableDictionary alloc] init]; [launchOptions setObject:MKLaunchOptionsDirectionsModeDriving forKey:MKLaunchOptionsDirectionsModeKey]; [destinationItem openInMapsWithLaunchOptions:launchOptions];This works perfectly fine till iOS 12. Now in iOS 13, it alwasy says "Directions Not Available".Has anyone else faced the situation and knows the solution?Is Apple maps having issues with iOS 13?
Posted
by rahulpant.
Last updated
.