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];
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?
Retrieving data ...