Determining distance using mapkit
问题 How is a 1000ft or 1/2 mile distance determined with mapkit? Either a radius from some pin or the distance between two pins. For example, I center the map on pin A. Pins B, C, and D are also on the map at various distances from pin A. B and C are within 1/2 mile from A but D is 1 mile away. I'd like to know that B and C are within 1/2 mile from A. How can I calculate that? 回答1: Since you've stated that the two different points are "pins", I'm going to assume you're using MKPinAnnotationView