I have UIViewController
and UITableView
as child in the view,
what I want to do is when I touch any row I am displaying a view at bottom. I want to
I just stumbled onto what may be a solution for your problem. Use this code when you create your table view:
tableView.canCancelContentTouches = NO;
Without setting this to NO
, the touch events are cancelled as soon as there is even a slight bit of vertical movement in your table view (if you put NSLog statements in your code, you'll see that touchesCancelled
is called as soon as the table starts scrolling vertically).