After using
beginUpdates()
endUpdates()
This method ->
tableView.setContentOffset(_, animated:) // do not work
Do not work after calling that 2 methods (even if I use timer), but works without them! Any ideas why?
setContentOffset works only if I swipe tableView manually after beginUpdates() + endUpdates()
and BEFORE setContentOffset
is being called.
scrollToRowAtIndexPath
works fine though but I need only setContentOffset
.