shouldReceiveTouch on UITableViewCellContentView
I'm trying to ignore UITapGestureRecognizer taps on a UITableView with the following: - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch { if ([touch.view isKindOfClass:[UITableViewCellContentView class]]) { return NO; // ignore the touch } return YES; // handle the touch } It won't compile: "Use of undeclared identifier 'UITableViewCellContentView' Undocumented class? Need to subclass? Better way to accomplish this? Thanks for any help. Jimmy_m This seems to do it: - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer