I have a tableview which has 3 cells named a,b and c. When I click on ‘a’ it opens another view, now I want to swipe left to right so that it returns back to tableview. This is what I want to implement but I am unable to.
I have used touchesMoved method, it works if I only implement it on a simple view, but this is not working with UITableView.
An easy way to go is to attach a
UISwipeGestureRecognizerto the cell detail view, just before pushing it when a row is selected. This code would typically take place in your customUITableViewControllersubclass.