Positioning MKMapView to show multiple annotations at once
问题 I\'ve got several annotations I want to add to my MKMapView (it could 0-n items, where n is generally around 5). I can add the annotations fine, but I want to resize the map to fit all annotations onscreen at once, and I\'m not sure how to do this. I\'ve been looking at -regionThatFits: but I\'m not quite sure what to do with it. I\'ll post some code to show what I\'ve got so far. I think this should be a generally straightforward task but I\'m feeling a bit overwhelmed with MapKit so far. -