In iOS13, i return
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
return collectionView.bounds.size
}
but the displayed cell is hugged horizontally and not fullwidth... this wasn't happening before
is there any change that is responsible? why is this happening?
In interface builder, set Estimated size to 'None' from 'Automatic'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With