activeintime
activeintime
I've written a category to do this.. ``` @implementation RMMapView (LayoutMethods) -(void)zoomToFitAllAnnotationsAnimated:(BOOL)animated { NSArray *annotations = self.annotations; if (annotations.count > 0) { CLLocationCoordinate2D firstCoordinate = [[annotations objectAtIndex:0]coordinate]; //Find the southwest...
and the header ``` #import "MapBox.h" @interface RMMapView (LayoutMethods) -(void)zoomToFitAllAnnotationsAnimated:(BOOL)animated; @end ```
Happens to me.. Think it may be doing the viewDidLoad of the new view in the middle of the animation as opposed to up-front