UICollectionView-ARDynamicHeightLayoutCell icon indicating copy to clipboard operation
UICollectionView-ARDynamicHeightLayoutCell copied to clipboard

Size always returns 0

Open burakkilic opened this issue 7 years ago • 3 comments

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?

burakkilic avatar Jan 12 '17 12:01 burakkilic

Did you use the Auto Layout?

AugustRush avatar Jan 13 '17 02:01 AugustRush

I'm using Masonry for autolayout.

burakkilic avatar Jan 13 '17 07:01 burakkilic

May your layout is not correct?

AugustRush avatar Jan 14 '17 04:01 AugustRush