I am trying to pass through touches from a custom UIView to a UITableView underneath (the UIView is directly on top of the UITableView). However, it does not seem to be working.
In my custom UIView, I have tried all of the following (I'm using touchesMoved as an example but I've implemented this for all 4 touch methods)
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
[self.nextResponder touchesMoved:touches withEvent:event];
}
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { [super
touchesMoved:touches withEvent:event];
}
I've even tried passing a pointer to the UITableView directly into the custom UIView and doing this:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
[self.myTableView touchesMoved:touches withEvent:event];
}
None of these options seem to do anything as I can't scroll the UITableView. Any ideas why this wouldn't work?