Detecting taps on a UIWebView

Posted by dubbeat on Stack Overflow See other posts from Stack Overflow or by dubbeat
Published on 2010-05-05T07:30:55Z Indexed on 2010/05/05 8:18 UTC
Read the original article Hit count: 410

Filed under:
|
|

Hi,

I'm trying to find a way to detect a double tap on a UIWebview. I want to use this action to close it.

I however can't find and methods in the documentation for UIWebview taps.

Whats the best to add taps to a uiwebview?

I tried a tutorial here

http://mithin.in/2009/08/26/detecting-taps-and-events-on-uiwebview-the-right-way/

But I don't know how to change my UIWindow to a tap detecting window.

Does the above link seem like the best approach or could you suggest another way to remove my WebView?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiwebview