Overview (Edited)
I have UITableView, when I swipe, the delete button appears, when I touch else where, the delete button just disappears without any animation.
With Accessory
- If I add an accessory (Disclosure Indicator), when the delete is cancelled, the delete button vanishes with animation.
Without Accessory
- If I remove the accessory from the table view cell, then delete cancellation doesn’t show any animation.
Question
- I don’t want the accessory but i want the delete cancellation animation, is there a way to achieve this ?
On iOS 6 this “bug” still exists. There are 2 ways to workaround this problem:
Solution 1:
Solution 2
This way when “remove row” is canceled, the button disappears with animation.