touchesEnded is not calles when table is scrolled
-
20-06-2021 - |
Domanda
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?
Soluzione
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/
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow