سؤال

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?

هل كانت مفيدة؟

المحلول

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/

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top