I am using a UIWebView in a UIScrollView. I have customized my scrollview. Everything works good. I was able to detect links, copy text from webview.
But, i wanted to implement a swipe gesture on webview, so that i can move to next page or previous page.
So, I subclassed UIWebView . but, the touches method was not getting called.
so in the hit test method of my customized web view, i return my custom webview. There after, i was able to get touches event work.
But, links and copying text was not working. So, i got the superview in hittest method. and if my gesture is not a swipe , i call the touches ended method of the captured view in my custom views touches ended method. (so, now link also works.)
The problem, i am facing is, i am not able to get the copy method working..
Any ideas????
But, i wanted to implement a swipe gesture on webview, so that i can move to next page or previous page.
So, I subclassed UIWebView . but, the touches method was not getting called.
so in the hit test method of my customized web view, i return my custom webview. There after, i was able to get touches event work.
But, links and copying text was not working. So, i got the superview in hittest method. and if my gesture is not a swipe , i call the touches ended method of the captured view in my custom views touches ended method. (so, now link also works.)
The problem, i am facing is, i am not able to get the copy method working..
Any ideas????