Expanding table view cells disappearing

前端 未结 7 1698
傲寒
傲寒 2021-02-12 23:52

I have cells that expand by changing their height with a setExpanded: method call.

I then call reloadRowsAtIndexPaths: to refresh the cells.

The problem is the c

7条回答
  •  一个人的身影
    2021-02-13 00:19

    Seems to me like the cell isn't redrawn properly.

    Did you try something like:

    [cell.backgroundView setNeedsDisplay]
    

提交回复
热议问题