how to obtain the UITableViewCell within heightForRowAtIndexPath?

后端 未结 6 701
孤城傲影
孤城傲影 2020-12-24 12:19

How does one obtain the UITableViewCell when within the heightForRowAtIndexPath method, i.e. given the indexPath?

(then I could access the

6条回答
  •  一整个雨季
    2020-12-24 13:20

    If you want to access the cells use tags. But as @Jhaliya has said it is better to calculate the height based on the content of the cell. If your regard is with the position of the cell then I would suggest you to use scroll view and implement the cells yourself wherever you want.

提交回复
热议问题