touchesEnded:withEvent: from UIScrollView First Responder

Posted by Matthew Mitchell on Stack Overflow See other posts from Stack Overflow or by Matthew Mitchell
Published on 2011-01-04T18:50:58Z Indexed on 2011/01/04 18:53 UTC
Read the original article Hit count: 168

I've made a UIScrollView the first responder. I need to maintain touch events to a touchesEnded:withEvent: method on a view behind it. I've tried using the nextResponder method and that failed. I've tried forwarding touchesEnded:withEvent to the view behind it and that fails.

How do I get this to work? The UIScrollView wont work unless it is the first responder or gets events some other way.

Thank you for any help. Shame Apple's documentation and APIs are terrible in areas.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about uikit