UICollectionView-ARDynamicHeightLayoutCell
UICollectionView-ARDynamicHeightLayoutCell copied to clipboard
Size always returns 0
Hi;
I don't use autolayout in my code. I'm using Masonry for autolayout jobs.
I need to use ARDynamicHeightLayoutCell but it is giving always 0.
[collectionView ar_sizeForCellWithIdentifier:@"ItemAllergensCollectionViewCell" indexPath:ip fixedWidth:collectionView.bounds.size.width configuration:^(__kindof ItemAllergensCollectionViewCell *cell) {
[cell configureCellWithEntity:self.entity];
}];
What should I do more?
Did you use the Auto Layout?
I'm using Masonry for autolayout.
May your layout is not correct?