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
Accepted answer in Swift 4 syntax
let deadlineTime = DispatchTime.now() + .seconds(1) DispatchQueue.main.asyncAfter(deadline: deadlineTime) { self.tableView.scrollToRow(at: indexPath, at: .middle, animated: true) }