How do I find what text/HTML is on screen in a UIWebview?

Posted by Grant M on Stack Overflow See other posts from Stack Overflow or by Grant M
Published on 2010-05-07T07:18:03Z Indexed on 2010/05/07 7:18 UTC
Read the original article Hit count: 139

Filed under:
|
|

I would like to know what the first piece of text/html that is currently showing on screen, or more generally where in pixel location a particular tag or piece of text is in the UIWebview. I know that I can use window.pageYOffset to get the scroll position of the UIwebview, but how do I find out what text or HTML item is there?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiwebview