0 Replies
      Latest reply on Oct 9, 2019 4:03 AM by rahulpant
      rahulpant Level 1 Level 1 (0 points)

        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?