【发布时间】:2013-10-13 00:40:20
【问题描述】:
我在 CollectionView 中使用 CustomLayout 完成了一个视图。在 iOS6 中它运行良好,但在 iOS7 中它会抛出这样的异常。
由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:
'索引路径 ({length = 2, path = 0 - 0}) 处补充项目的布局属性从 CustomSupplementaryAttributes: 0xd1123a0 索引路径: (NSIndexPath: 0xd112580 {length = 2, path = 0 - 0}) 更改;元素种类:(标识符);帧 = (0 0; 1135.66 45); zIndex = -1; to CustomSupplementaryAttributes: 0xd583c80 索引路径: (NSIndexPath: 0xd583c70 {length = 2, path = 0 - 0});元素种类:(标识符);帧 = (0 0; 1135.66 45); zIndex = -1;不使布局无效'
【问题讨论】:
标签: uicollectionview uicollectionviewlayout