I'm very new to iOS programming, and apologize fi this question sounds rather trivial. But after searching the web for hours, I've given up.
I need to get current zoom level of the map in my iOS app, so that when I change current view, I can retain zoom level. Using this code, I can get and set zoom levels. I implemented the mapView:regionDidChangeAnimated:
method of MKMapViewDelegate
protocol. But this method is called multiple times during initial "zoom in" animation of the map, and if during this period, I need to update the map, I might have wrong zoom level. I certainly don't want to turn off map animations. So, I was looking for a way to determine if map is currently being animated or stationary, before reading and storing zoom level.
I'm using MKMapView
.