CLLocation Category for Calculating Bearing w/ Haversine function
I'm trying to write a category for CLLocation to return the bearing to another CLLocation. I believe I'm doing something wrong with the formula (calculous is not my strong suit). The returned bearing is always off. I've been looking at this question and tried applying the changes that were accepted as a correct answer and the webpage it references: Calculating bearing between two CLLocationCoordinate2Ds http://www.movable-type.co.uk/scripts/latlong.html Thanks for any pointers. I've tried incorporating the feedback from that other question and I'm still just not getting something. Thanks Here