I have a UITableView that is populated with cells with dynamic height. I would like the table to scroll to the bottom when the view controller is pushed from vi
UITableView
Works in Swift 4+ :
self.tableView.reloadData() let indexPath = NSIndexPath(row: self.yourDataArray.count-1, section: 0) self.tableView.scrollToRow(at: indexPath as IndexPath, at: .bottom, animated: true)