I am using UICollectionView
After reloading the collectionView data, I am not getting the exact content size height of the collection view. It always return the previous content size height of the collection view after updating the next view.
I also using CHTCollectionViewWaterfallLayout
for collectionViewLayout
.
My code is look like that
- (void)loadCollectionView {
[_collectionView reloadData];
NSLog(@"contentSize%f",self.collectionView.collectionViewLayout.collectionViewContentSize.height);
}
Please help.