I have an iPhone program that consists of a number of UIViews that are sitting on top of another UIView, and that can be moved around. I am drawing connections between the UIViews using the drawRect: method in the containing UIView. It all works great.
The only problem is that when I use animation to move the views around, the background does not get refreshed. I have tried using key-value observing on the views' properties, but I'm not getting notified when they change during the animation.
Is there any way to make my containing UIView redraw while the animation is running?