I am creating an app, that should display a route between two points.
MKPolyline *routeLine = [MKPolyline polylineWithCoordinates:locations count:2];
[mapView addOverlay:routeLine];
The two locations are stored in the array "locations".
I am getting an error
Implicit conversion of Objective-C pointer type 'NSMutableArray *' to C pointer type 'CLLocationCoordinate2D *' requires a bridged cast
Please help me over this.
Thanks in advance.