I'm using UIGraphicsGetImageFromCurrentContext
inside drawRect
and setting a subview's property to the returned UIImage
. This ends up triggering setNeedsDisplay
in the subview.
Can this have any side effects?
Basically, will the subview always have its drawRect
method called if setNeedsDisplay
was called within the superview's drawRect
method? Or would the subview be considered "already displayed", meaning no update will take place?
From the mailing list: http://lists.apple.com/archives/Cocoa-dev/2005/Jul/msg01697.html
The above snippet is answering this question: http://lists.apple.com/archives/Cocoa-dev/2005/Jul/msg01693.html