How to draw a route between my current location to desired location on MKMapView?
问题 I want to show a route between my current location and desired location. I am able to do this but when the source point and destination point so far then it will not show a route and gave the memory warning. Can you suggest any sample code or any way to do this? 回答1: Following Code for the draw path between the current location to desire location - (void)viewDidLoad { [super viewDidLoad]; mapView = [[[MapView alloc] initWithFrame: CGRectMake(0, 0, self.view.frame.size.width, self.view.frame