touchesEnded is not calles when table is scrolled
-
20-06-2021 - |
Question
I have a TTTableViewController
table , with TTTableLinkedItemCell
cells.
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?
La 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/
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow