How to detect if delete button UItableviewcell was hidden?

cocoa-touch, ios, ios5, iphone, objective-c

Solution

When the user taps outside the delete mark in a cell, your program should receive a call to `tableView:didEndEditingRowAtIndexPath:` on the table view delegate.

Problem

I have a view that contains a UITableView. I'm able to show the delete button on the cell when the user swipes. If the user touches the delete button a method will be triggered (this works fine). But if the user decides to not to delete the cell and he touches anywhere in the view to hide the delete button. How can I detect that?

Original source