I have the following situation: A UIScrollView contains a UIWebView. I want the content inside the web view to be touchable, but the scroll view should not scroll unless it was touched near the left or right edge. I have subclassed both UIScrollView and UIWebView to try to override methods like hitTest
and pointInside
but no go so far.
The only partial success I've had was to override pointInside
in my UIScrollView and return NO if the point was not near the edges. Then the UIScrollView stops scrolling, but no touches are sent to the UIWebView.
Grateful for some ideas.