是否可以为单元格设置最小高度?我使用动态:
tableView.estimatedRowHeight = 83.0
tableView.rowHeight = UITableViewAutomaticDimension
但是当我的 news title label text
是一行时,我需要为单元格设置最小高度。
最佳答案
您是否尝试过在自定义 UITableViewCell
的 height >= 60.0
View 中创建约束?
关于swift - UITableViewAutomaticDimension 的最小单元格高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35169125/