Detecting taps on a UIWebView
- by dubbeat
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?