Is there any way that the height of a UICollectionViewCell
suits the content as in UITableViewCell
??
Example:
In the UITableViewCell
I have this code so that the height adapts to the content:
self.tableView.rowHeight = UITableViewAutomaticDimension
self.tableView.estimatedRowHeight = 250.0
How can I make the cells in UICollectionViewCell
work the same?
Thank you!