See a better solution where:
Apple - Support - Discussions - [iPhone SDK] Events Filtered: UIControl ...
First let me explain what happens:
The UITableView extends from UIScrollView. UIScrollView intercepts all the events to make the decision if it is a scroll or not, if not it passes the event to the subviews. (Except when you have a UIslider)
The solution is to extend UITableView and override this method:
When you Extend UISlider the hitTest returns the sliderview on a touch event but not when you extend UIControl. That I can not explain.
Overriding the hitTest you can test if the point argument is inside in your view (converting to its coordinates) and Return it the view like what happens in a UISlider.
If someone know why the UISlider is an exception in this hitTest method, please tell us.
Hope this helps you people, trying to capture touches in a UITableView or UIScrollView without the interference of the scrool detection.
Best regards, Joćo
http://www.nanoappz.com/