且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何创建一个动态改变其高度以适应其内容的表格视图单元格?

更新时间:2023-02-09 18:41:14

只需在 cellForRowAtIndex 中计算高度并设置 table.rowHeight.看看这个链接可以帮到你

Just calculate height in cellForRowAtIndex and set table.rowHeight. Look at this link can help you

插入tableView 设置为 Autoresize 导致滚动问题