I\'ve noticed a weird UITableView behaviour which only seems to occur on iOS 11 devices.
Right after inserting a new row (changing data source and then calling reloadDat
Not sure if the situation I encountered applies to this question, but I also had a situation where UITableView.scrollTo...
started misbehaving from iOS 11.
In my case, I was calling UITableView.reload...
and UITableView.scrollTo...
consecutively. And what it turned out is that the order matters.
This works :
tableView.reloadData()
tableView.scrollToRow(at: indexPath, at: .top, animated: true)
This doesn't :
tableView.scrollToRow(at: indexPath, at: .top, animated: true)
tableView.reloadData()
Hopefully this helps.