fix the view when deleting a message

This commit is contained in:
Danmei Chen 2019-01-25 15:20:27 +01:00
parent 14b172f2ad
commit 3d92614919

View file

@ -325,6 +325,7 @@ static const CGFloat MESSAGE_SPACING_PERCENTAGE = 1.f;
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath]
withRowAnimation:UITableViewRowAnimationBottom];
[tableView endUpdates];
[self loadData];
}
- (NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView