[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
This code (in the commitEditingStyle method) does not make changes to the animation when a line is deleted. The line is deleted, everything else works well, except for the animation.
No matter how I change the animation style, it just erases the text from left to right, while deleting the line, moving up. And the last line is also a strange thing. It erases the text and deletes the line, but not the same as the line.
Is this the default behavior in iOS 7? I do not understand why this is so.
PS I do not know why the insertRowsAtIndexPaths animation works fine.
[self.tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:ip] withRowAnimation:UITableViewRowAnimationRight];
source
share