由于未捕获的异常’NSInternalinconsistencyException’终止应用程序,原因:
解决方法 您需要在更新之前使现有布局无效,请参阅错误消息的结尾:‘layout attributes for supplementary item at index path ( {length = 2,path = 0 – 0}) changed from CustomSupplementaryAttributes: 0xd1123a0 index path: (NSIndexPath: 0xd112580 {length = 2,path = 0 – 0}); element kind: (IDentifIEr); frame = (0 0; 1135.66 45); zIndex = -1; to CustomSupplementaryAttributes: 0xd583c80 index path: (NSIndexPath: 0xd583c70 {length = 2,path = 0 – 0}); element kind: (IDentifIEr); frame = (0 0; 1135.66 45); zIndex = -1; without invalIDating the layout’
without invalIDating the layout’
[collectionVIEwLayout invalIDateLayout];
Apple Documentation for UICollectionViewLayout
总结以上是内存溢出为你收集整理的来自iOS7的UICollectionViewLayoutAttributes中的UICollectionView异常全部内容,希望文章能够帮你解决来自iOS7的UICollectionViewLayoutAttributes中的UICollectionView异常所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)