Swift ios 9: Section header change position after reload data
tableView.reloadData()
tableView.layoutIfNeeded()
tableView.beginUpdates()
tableView.endUpdates()
This help me out.
Double reloadData
will cause flickering while this solution won't.
I know it's an old thread but uncheck the Adjust Scroll View Insets
doesn't help. I had this problem and solved it by reload table twice.