0

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.

Larme
  • 24,190
  • 6
  • 51
  • 81
Atanu Mondal
  • 1,714
  • 1
  • 24
  • 30

0 Answers0