I have a UITableView that is using a custom table cell and each cell has a UIWebView.
Because UIWebView took along time to load, i want to avoid reloading them at al
working on my project, but not a common solution.
let loc = tableView.contentOffset
UIView.performWithoutAnimation {
tableView.reloadData()
tableView.layoutIfNeeded()
tableView.beginUpdates()
tableView.endUpdates()
tableView.layer.removeAllAnimations()
}
tableView.setContentOffset(loc, animated: true)//animation true may perform better