I am trying to detect animations and other screen updates as they happen in UIWebView. I would like to get the rectangles of the areas in the UIWebView that have been changed since the last update.
I think that really what I'm looking for is a way to “capture” the calls that the UIWebView makes for setNeedsDisplayInRect. Is there any way to do this? Can I somehow subclass the UIWebView underlying the CALayer so that I can catch these calls when they come in from the UIWebView?
source
share