How can I detect a double tap on a certain cell in UITableView?
UITableView
i.e. I want to perform one action if the user made a single touch and a
Another answer
int touches; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { touches++; if(touches==2){ //your action } } - (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath { touches=0; }