How to dynamically set the height of a UITableView?

后端 未结 5 2168
独厮守ぢ
独厮守ぢ 2020-12-29 14:23

I have a tableview with different cell heights using the heightForRowAtIndexPath: method.

I would like to dynamically set the height of a UITable

5条回答
  •  Happy的楠姐
    2020-12-29 15:01

    You can set the frame of the tableView at any moment. You can even animate that change in size.

提交回复
热议问题