Search code examples
iphoneobjective-cuitableviewthree20

touchesEnded is not calles when table is scrolled


I have a TTTableViewController table , with TTTableLinkedItemCellcells.

In the cell I have -(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; function.

This function is called only when the table is clicked, but not when it is scrolled. Is there some other function that interceps the scrolling?


Solution

  • You can use UIGestureRecognizer to recognize certain actions like tap, move, rotate and scale.
    Please find the below url
    http://www.icodeblog.com/2010/10/14/working-with-uigesturerecognizers/