tips:在iOS8.3的时候需要将预估size的宽设置为一个与最大值相近的值
UICollectionViewFlowLayout *layout = (UICollectionViewFlowLayout *)_channelCollectionView.collectionViewLayout;
layout.estimatedItemSize = CGSizeMake(32, 22);
_channelCollectionView.collectionViewLayout = layout;
网友评论