Dynamic CollectionViewCell In TableViewCell Swift
问题 Question: How To Make UITableViewCell Height Dynamic according the UICollectionViewCell ? View Hierarchy: UIViewController UITableView UITableViewCell UICollectionView UICollectionViewCell1 Label 1 UICollectionViewCell2 Label 2 UICollectionViewCell3 Label 3 [So on] Explanation: Here Label1 , Label2 , label 3 are have dynamic height and numberOfRows in UICollectionView is also dynamic. I need Height of UITableViewCell according to the UICollectionViewCell . 回答1: View Hierarchy In