the item height must be less than the height of the UICollectionView minus the section insets top...

The behavior of the UICollectionViewFlowLayout is not defined because:
2020-12-13 10:32:16.544810+0800 MyBox[1073:195016] the item height must be less than the height of the UICollectionView minus the section insets top and bottom values, minus the content insets top and bottom values.

原因:UICollectionViewFlowLayout的itemSize 设置的过大,超过UIcollectionView的size

你可能感兴趣的:(the item height must be less than the height of the UICollectionView minus the section insets top...)