Reputation: 138
I looked up in Apple documentation and saw how set zoom level, but couldn't see the method in event of user zooms in and/or out of the map.
I need to catch all this events for each zoom level changes. Please help.
Upvotes: 0
Views: 786
Reputation: 4143
Use MKMapView
delegate methods
-(void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated
Or if you want to do some work before map adjust new region simply use the following
-(void)mapView:(MKMapView *)mapView regionWillChangeAnimated:(BOOL)animated
Upvotes: 2