Table View Cells jump when selected on iOS 8

前端 未结 5 887
隐瞒了意图╮
隐瞒了意图╮ 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 07:08

    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.

提交回复
热议问题