I have the UITableView with UITableViewCell, which contains UICollectionView, as:
- UITableViewCell
- UITableViewCell
- UICollectionViewCell
- UICollectionViewCell
In UICollectionView data is adding dynamically. I have subscribed to UICollectionView contentSize and I am changing frame of UICollectionView accordingly to contentSize. It's working fine and frame of UITableViewCell containing UICollectionView is changing correctly, but UITableView contentSize does not updating. And I don't understand why?
UITableView items height is set to UITableViewAutomaticDimension