我的 tableView 中有动态单元格计数,如何更改 tableView 高度?
我尝试了,但它不起作用:
self.tableView.frame.size.height = CGFloat(height)
uitableview swift
swift ×1
uitableview ×1