In iOS 4.0, why does UIScrollView zoomToRect:animated: not trigger the scrollViewDidScroll or scrollViewDidZoom delegates while animating?
I need to closely monitor the scale of the scroll view so that I can update the content view's elements (a subview managing multiple CALayers ) according to the scroll view's animated zoom. On iOS 3.1, everything works as expected, I use zoomToRect:animated: and the scrollViewDidScroll: message of the UIScrollViewDelegate gets called repeatedly while the animation takes place , letting me update the subview elements according to actual zoom. The same code on iOS 4.0 does not exibit the same behavior. When I call zoomToRect:animated: , the delegates ( scrollViewDidScroll: and scrollViewDidZoom