Swiped state is not preserved when uitableview reloaddata method is called
In my table view, few of the cells are MSSwipeTableCell while others are UITableViewCell. I am fetching data for different cells using service calls in blocks and updating the table view using table view's reloaddata method.
In slow network situations, my MGSwipeTableCell appears and I can swipe on it while data for other cells is still being fetched. Once other cells have received the data, I am calling table view's reloaddata method. This is causing the swiped MGSwipeTableCell to snap back with no user action. Appreciate any help on how to fix it.
Perhaps there is a solution in the library itself, but barring that, perhaps you could note which cell is swiped before you call reload data, and re-open it after reload? or perhaps you could delay the reload until the user is done?
I tried to mote the swipe offset before the reload data and set the swipe offset back again. Something like the solution described in this link. https://github.com/MortimerGoro/MGSwipeTableCell/issues/150 This is not working.
i faced the similar issue . I use reloadRowsAtIndexPaths:withRowAnimation: to reload rows those are not MSSwipeTableCell.