UICollectionView控制台打印log错误信息解决

2016-07-26 14:41:24.212 TableViewAutoHeight[13033:273442] the behavior of the UICollectionViewFlowLayout is not defined because:
2016-07-26 14:41:24.213 TableViewAutoHeight[13033:273442] 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.
2016-07-26 14:41:24.213 TableViewAutoHeight[13033:273442] The relevant UICollectionViewFlowLayout instance is , and it is attached to ; layer = ; contentOffset: {0, 0}; contentSize: {1875, 151.66666666666669}> collection view layout: .
2016-07-26 14:41:24.213 TableViewAutoHeight[13033:273442] Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger.

屏幕快照 2016-07-26 下午2.30.41.png
bug.gif

找到TheBugCell.m文件
注销line:87 报错代码
打开line:88
commond .
commond B
commond R
==> SUCCESS ==>报错完美解决 原因
/* 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.
该项目高度必须小于该UICollectionView减去部分插入顶部和底部的高值,减去内容插入顶部和底部的值。
*/
Demo: github
https://github.com/550872569/UICollectionView-log-.git

你可能感兴趣的:(UICollectionView控制台打印log错误信息解决)