I am writing a “tweetie 2” like swipe functionality, but have run into what I hope is the last stumbling block.
When a user swipes across a table row the “controls” view animates as expected, but when the row is selectd, didSelectRowAtIndexPath is fired off. The desired result is for when the “controls” view is visible to disable the didSelectRowAtIndexPath method or for a lack of a better phrase…stop the responder chain for continuing past the “controls” view.
The uitouch delegate methods are used/being called in the custom uitablviewcell.
A bit of logic should do the job here. Let’s say you add this property to your UITableViewController subclass:
When the user triggers the cell’s utility view, your cell does this:
Then:
So you’ll disable selection for the affected cell while still allowing the user to interact with other visible cells.