I'm writing an iPad app in which I make intense use of a UIWebView
inside a UIViewController
.
I'm tying a few actions to swipe gesture recognizers. They detect both left and right swipes. Since my web view scrolls up and down, it is very easy to try a horizontal swipe and get the webview to scroll up or down a bit, what ends up failing the gesture recognizer.
So is there any way to avoid this behavior? Maybe to detect the start of the horizontal swipe and lock the UIWebView vertical position?
Thanks!