I have a non scrollable UITableView inside an UIScrollView. And I'm having the problem that when I touch a row, the callback didSelectRowAtIndexPath: is not being called on the first tap, but after the first tap everithing works.
A few considerations:
- After the first tap, the table view works normally, every tap works in every cell.
- This happens just after I scroll the UIScrollView. If I don't scroll the UIScrollView, this never happens.
- I have overriden the UIScrollView's
touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)viewand the event does pass throw here, theviewis aUITableViewCellContentVieweffectively.
I just don't know why the event is not been sent to the UITableView on the first time, and on the following ones it does.