I’m developing an iOS 5 app, in my case if user tap a row from UITableView first time then it will perform some action and if it is tapped second time then it will perform different action.
Now, the problem is that how to know if s particular row is tapped second time?
Thanks in advance!!
Here is my solution(as Eiko suggest):
Maintain a mutable array and store row index whenever a row is first time selected in array and call first action. When row is selected second time or another row is get selected check if index of that row is present in array, if it is than call second action else add index of row to array and call first action.