When I call setNeedsDisplayInRect:
, why isn't my drawRect:inContext
method being called soon after? If I zoom into the unpainted area, then zoom out (I guess triggering a repaint) the image will be drawn. But if I leave it sitting there, no dice. Is there a way to force a repaint immediately?
Just in case it matters, I'm really using MapKit's overlays and the setNeedsDisplayInMapRect:zoomScale:
and drawMapRect:zoomScale:inContext:
methods, but I had this problem previously with just a scrollview and a CATiledLayer.