项目高度必须小于UICollectionView的高度减去部分insets顶部和底部的值。

拂晓fxx 发布于 2015/10/23 13:17
阅读 965
收藏 0

在设置cycleScrollView的frame时,给的是:

SDCycleScrollView * cycleScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 56, CGRectGetWidth([UIScreen mainScreen].bounds),220) imageURLStringsGroup:nil];

然后就一直有提醒:the behavior of the UICollectionViewFlowLayout is not defined because:the item height must be less than the height of the UICollectionView minus the section insets top and bottom values.
加载中
返回顶部
顶部