I\'ve got an UICollectionView with an UICollectionViewFlowLayout, and i want to calculate its content size (for return in intrinsicContentSiz
UICollectionView
UICollectionViewFlowLayout
intrinsicContentSiz
In addition,you'd better calling reloadData before getting the height:
reloadData
theCollectionView.collectionViewLayout.collectionViewContentSize;