I have a UITableView, and I press the row, but do not release finger, so didSelectRowAtIndexPath is not called yet, right?
- How to detect on which row i clicked? in which method?
- How to detect that I clicked on table view? Is there any method like
rowIsPressed? oronTableViewTouchDown?
There are two options at least:
1) You can subclass UITableViewCell and than use the touchhandling you know from a default uiview. (Like
touchesBegan:etc.) / OR add a custom uiview as contentView of the tablecell.2) Add a gesturerecognizer to each tablecell.
To find out in which row you are, you could give every row a tag (which than refers to the row) in
cellForRow:atIndexPath: