0

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?

Luda
  • 7,282
  • 12
  • 79
  • 139
  • As the name suggests touchesEnded will only be called when your touch on the screen ends. So when scrolling, Function name touchesMoved should be called. – Shailesh Jul 10 '12 at 08:52

1 Answers1

1

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/

Tinku George
  • 585
  • 5
  • 14
  • Thank you! I used the following function from the tutorial: - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer { //function is entered after scroll //my code } – Luda Jul 10 '12 at 11:47