Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-24 Thread Marco Tabini
I seem to have a loose end though -- when I examine the UIWebView's scrollView property, it initially has a non-nil delegate. I don't know if I should interpose as delegate and after taking my snapshot, call the original delegate, or only set myself as a delegate instead of the original.

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-23 Thread Motti Shneor
OK Thanks Marco. Thad did the trick!!! As I was suspecting, my Mac mind was hiding the solution from me. I didn't guess that the UIWebView had its own internal UIScrollView to support all the navigation gestures (scroll, zoom, rotate, translate etc.) On the Mac, usually a view is usually

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-23 Thread Motti Shneor
OK Thanks Marco. Thad did the trick!!! As I was suspecting, my Mac mind was hiding the solution from me. I didn't guess that the UIWebView had its own internal UIScrollView to support all the navigation gestures (scroll, zoom, rotate, translate etc.) On the Mac, usually a view is usually

Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread Motti Shneor
Hello everyone. I asked this several times before, but no one gave any hint -- I'd like to know if anyone here has any clue, at least where to search for an answer. I need to observe the visible contents of a UIWebView dIsplayed in my iOS application. Each time the visible contents changes, I

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread Marco Tabini
On 2013-04-22, at 3:26 AM, Motti Shneor su...@bezeqint.net wrote: Hello everyone. I asked this several times before, but no one gave any hint -- I'd like to know if anyone here has any clue, at least where to search for an answer. I need to observe the visible contents of a UIWebView

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread Motti Shneor
Thanks Marco, Actually, we use the UIWebView not to display HTML contents, but because it so easily provide multi-document-format display. We will probably use it most for displaying PDF documents, Image files, Word documents, etc. Anyway, it will display a single, static, local document (not

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread Marco Tabini
On 2013-04-22, at 9:04 AM, Motti Shneor su...@bezeqint.net wrote: To be very precise --- I'd like to know how to be notified about ANY UIView visual change. It somehow seems very obvious to me that such delegate call must exist. Maybe I'm overlooking something very basic here. I think I

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread Jens Alfke
On Apr 22, 2013, at 12:26 AM, Motti Shneor su...@bezeqint.net wrote: I already succeeded in capturing the contents of the view as an image-buffer (out of the CALAyer's context) and I can (brutally) solve my problem by setting up a timer that will sample the view's contents N times a second.

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread David Duncan
On Apr 22, 2013, at 10:30 AM, Jens Alfke j...@mooseyard.com wrote: On Apr 22, 2013, at 12:26 AM, Motti Shneor su...@bezeqint.net wrote: I already succeeded in capturing the contents of the view as an image-buffer (out of the CALAyer's context) and I can (brutally) solve my problem by

Re: Third time I ask - please help. How to trace visible change in a UIView (UIWebView)

2013-04-22 Thread Sandor Szatmari
I had thought about this too, but was afraid that -drawRect: would be called more often than the actual content of the view was being changed. If you could limit the calls within -drawRect: perhaps by setting a content did change flag in the subclass this might reduce the notifications to be