I have a UITableViewCell that within its contentView, has a UIControl subview. When that view is pressed, I change the background color of the view. To my understanding, the UIControl knows when it is in a table view so that the "pressing" of the UIControl will wait for the scroll gesture recognizer of the UITableView to fail before initiating.
My question is, how can I detect the failure of the "swipe to delete" scroll gesture of the table view cell? My button is getting a "pressed" state even though I am actually performing a swipe to delete (exposing the delete button like in the Mail App). Is there a way I can detect even a cancel of the touch so I can change the state back to unselected?