MortimerGoro / MGSwipeTableCell

An easy to use UITableViewCell subclass that allows to display swippable buttons with a variety of transitions.
MIT License
6.96k stars 1.07k forks source link

will/DidSelectRowAtIndexPath not called on tap #222

Closed philhinco closed 8 years ago

philhinco commented 8 years ago

I'm currently trying to use MGSwipeTableCell to enable our tables to have slide in buttons (that will expand to trigger an action).

Now I run into the following problem:

Tapping on a cell won't do anything, it won't call will or didSelectRowAtIndexPath. However, a small swipe/pan (with no buttons) will call them.

The only thing I changed so far is switching from subclassing UITableViewCell to subclassing MGSwipeTableCell instead.

I also had a earlier build that already included the delegate to setup the buttons which worked fine. But even then a tap didn't call didSelectRowAtIndexPath.

Edit:

Nevermind - Found the issue - There was an old, very old TapGestureRecognizer over the tableview that we haven't used in years. Once I removed it everything worked!