【发布时间】:2018-03-25 06:31:51
【问题描述】:
问题:
如何根据UICollectionViewCell使UITableViewCell高度动态化?
查看层次结构:
UIViewController
UITableView
UITableViewCell
UICollectionView
UICollectionViewCell1
标签 1
UICollectionViewCell2
标签 2
UICollectionViewCell3
标签 3
[等等]
解释:
这里Label1、Label2、label 3 具有动态高度,UICollectionView 中的numberOfRows 也是动态的。根据UICollectionViewCell,我需要UITableViewCell 的高度。
【问题讨论】:
标签: ios swift uitableview uicollectionview row-height