iOS TableView reload and scroll top
UItableView method scrollToRow(at:at:animated:) Scrolls through the table view until a row identified by index path is at a particular location on the screen. Use tableView.scroll(to: .top, animated: true) You can use my extension extension UITableView { public func reloadData(_ completion: @escaping ()->()) { UIView.animate(withDuration: 0, animations: { self.reloadData() }, completion:{ _ in completion() }) } … Read more