Table View Cells jump when selected on iOS 8

前端 未结 5 789
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 06:36

I\'m trying to update my apps for iOS 8 and one strange issue that I can\'t figure out is that whenever I press a table view cell (on a grouped table view) and push another

5条回答
  •  有刺的猬
    2020-12-15 06:48

    Alright, so if you're using the default UITableViewCells 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.

提交回复
热议问题