如何TableViewCell里面再加上CollectionView这类的ScrollView玩意,那自动算高就失效了,还是得用
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
//computing height
return 200
}
计算高度,真是好麻烦啊
如何TableViewCell里面再加上CollectionView这类的ScrollView玩意,那自动算高就失效了,还是得用
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
//computing height
return 200
}