I know from documentation we can find distance between two CLLocation points using the function, distanceFromLocation:. But my problem is I dont have CLLocation data type with me, I have the CLLocationCoordinate2D points. So how can I find distance between two CLLocationCoordinate2D points. I have seen the post post but not helpful for me.
I know from documentation we can find distance between two CLLocation points using the
Share
You should create an object of CLLocation using,
Then, you should be able to calculate the distance using