更新时间:2023-11-30 15:38:46
你可以观察tableView.contentSize
的变化并将值绑定到frame
,记住你可能会遇到内存问题,因为表视图不会回收单元格
You can observe tableView.contentSize
changes and bind the value to the frame
, keep in mind you might run into memory issues since table view won't recycle cells