I use feature of autosizing flow layout of collectionView
self.flow = [[UICollectionViewFlowLayout alloc] init];
self.flow.scrollDirection = UICollectionViewScrollDirectionVertical;
self.flow.sectionInset = UIEdgeInsetsZero;
self.flow.estimatedItemSize = CGSizeMake(320, 48);
I want to cells will fill by width full width of CollectionView (widthCell=widthCollectionView)
But i got what autosizing work for whole size. I try playing with Content Compression/Hugging Priority - not effect.
With width of CollectionView equals 320px, i got cell size for label content size.
Constraints Horizontal : H:|-8-[img(48)]-8-[label]-8-|
How to make autosize work only for Vertical but not for Horizontal?