|
1
3
您只需将textView与内容一起传递,即可计算textView的高度
您可以在
确保保持
|
|
|
2
1
1) 在heightForRowAtIndexPath中,单元格大小如下: return UITableViewAutomaticDimension 2) …并添加以下内容: 覆盖函数tableView(tableView:UITableView,estimatedHeightForRowAtIndexPath indexPath:NSIndexPath)->CGFloat公司{ return UITableViewAutomaticDimension } 我希望这有帮助。。。 |