【发布时间】:2012-09-17 23:15:09
【问题描述】:
我收到了错误...
*** Assertion failure in -[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:], /SourceCache/UIKit/UIKit-2372/UICollectionView.m:2249
尝试显示 UICollectionView 时。
导致它的行是......
static NSString *CellIdentifier = @"Cell";
UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:CellIdentifier forIndexPath:indexPath];
出队发生错误。
没有其他错误,所以我很难知道从哪里开始。
有人能解释一下吗?
【问题讨论】:
标签: iphone ios uicollectionview