Вопрос:
Как сделать UITableViewCell
высоту динамичной в соответствии с UICollectionViewCell
?
Просмотр иерархии:
UIViewController
UITableView
UITableViewCell
UICollectionView
UICollectionViewCell1
Этикетка 1
UICollectionViewCell2
Этикетка 2
UICollectionViewCell3
Этикетка 3
[So on]
Объяснение:
Здесь Label1
, Label2
, label 3
имеют динамическую высоту, а numberOfRows
в UICollectionView
также является динамической. Мне нужна высота UITableViewCell
в соответствии с UICollectionViewCell
.