Deleting a row without implementing tableView:commitEditingStyle:forRowAtIn
The documentation says "To enable the swipe-to-delete feature of table views (wherein a user swipes horizontally across a row to display a Delete button), you must implement the tableView:commitEditingStyle:forRowAtIndexPath: method."
I have a UISwitch in the cell's accessory view and the delete selector is invoked when I swipe over the UISwitch control. So, I don't want to implement the swipe-to-delete feature. I want the user to delete the row by clicking the edit and the delete button.
Is there a way to delete items from a table view without implementing tableView:commitEditingStyle:forRowAtIndexPath?
I have a UISwitch in the cell's accessory view and the delete selector is invoked when I swipe over the UISwitch control. So, I don't want to implement the swipe-to-delete feature. I want the user to delete the row by clicking the edit and the delete button.
Is there a way to delete items from a table view without implementing tableView:commitEditingStyle:forRowAtIndexPath?
iPhone, iOS 4