I\'m rendering some content in a layer that sits on top of my MKMapView
. The whole thing works great with the exception of rotation. When a user rotates the map
I've seen similar behavior in a MapKit program for OS X. I'm using the
call mapView:regionDidChangeAnimated:
instead of a KVO notification on changes to heading
, but I'm still only seeing the call at the end of rotations.
I just tried implementing mapView:regionWillChangeAnimated:
. That does in fact get called at the beginning of rotations. Perhaps you could begin polling the region upon receipt of mapView:regionWillChangeAnimated:
, cease polling on mapView:regionDidChangeAnimated:
, and in between do whatever critical updates you need during the rotations.