How To Detect "Touch Down" in superview of UIScrollView?

Posted by wgpubs on Stack Overflow See other posts from Stack Overflow or by wgpubs
Published on 2010-04-07T21:44:40Z Indexed on 2010/04/08 3:03 UTC
Read the original article Hit count: 567

I have a UIView that contains a UIScrollView and I want to be able to capture the "Touch Down" event in the UIView any time the user taps on the UIScrollView.

I've tried including all the touchesBegan/Ended/Cancelled handlers in my UIViewController but none of them get fired when tapping inside the UIScrollView contained in the main UIView.

What is the best way to accomplish this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about touch-event