MKMapView setRegion: Animated: works on simulator but not on iOS6 device


I have an MKMapView. To change the displayed region I use

[self.mapView setRegion:region animated:YES];

The strange is that on simulator the region is changed with animation, but on device the change is immediate and not animated.

I change the region after a long tap on the map...

This behavior drive me crazy and I can't able to solve it... Thanks...

You need to slow down setRegion by using the following code

[self performSelector:@selector(setMapRegion) withObject:nil afterDelay:3.0];

-(void) setMapRegion
[self.mapView setRegion:region animated:YES];