![](/img/trans.png)
[英]UITableView: Changing one cell's height constraint after table is constructed?
[英]Changing UITableView Cell's Height by using storyboard
将此方法添加到符合UITableView
的delegate
的 class 以更改 tableView 的高度。
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 100
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.