Imagine a UIWebView
that is partly overlayed by a UIView
which itself has to receive touches.
All I want to do is forward the touch events from the overlaying UIView
to the UIWebView
. I tried subclassing the UIView
and forward the touches to UIWebView
like
[webview touchesbegan:touches withEvent: event]
but it isn't working.
Well, it works as far as I can see by subclassing the UIWebView
that touchesbegan
gets called. But this never happens when I touch the UIWebview
directly so this is obviously not the right way to do this. Sooo, what am I doing wrong?