Table View Cells jump when selected on iOS 8
Alright, so if you're using the default UITableViewCell
s and setting custom fonts for the textLabel
and detailTextLabel
, make sure you either set rowHeight
for the table view or implement one of the UITableViewDelegate
methods for e.g. tableView:estimatedHeightForRowAtIndexPath:
The same code has worked fine on earlier versions of iOS, but needs fixing on iOS 8 for some reason.
I had the exact same problem! It seems like the iOS 8 SDK uses the estimatedRowHeight, after selecting a row, which then results in a wrong height for the whole tableview, which causes the jumping of the tableview itself.
Not setting the estimatedRowHeight property or implementing the delegate method will fix the jumping bug.
I have not found a clean solution to fix it yet.