I\'m working with MKMapView and have plotted several points on the map. I have used the MKCoordinateRegion and MKCoordinateSpan to ena
It's an old question and I know you might not need any help. But I'm just putting it out there for anyone who is looking for a way to do this now as there's a new method in MKMapView as of iOS 7 that can be used. It is both clean and easy.
Declaration
SWIFT
func showAnnotations(_ annotations: [AnyObject]!, animated animated: Bool)OBJECTIVE-C
- (void)showAnnotations:(NSArray *)annotations animated:(BOOL)animatedParameters
annotations The annotations that you want to be visible in the map. animated YES if you want the map region change to be animated, or NO if you want the map to display the new region immediately without animations.
Discussion
Calling this method updates the value in the region property and potentially other properties to reflect the new map region.