【发布时间】:2016-12-15 20:58:46
【问题描述】:
我正在尝试使用故事板中的 UICollectionView 原型单元,就像我们对 UITableView 所做的那样。但是collectionView.dequeueReusableCellWithReuseIdentifier(:, forIndexPath:) crash down 应用程序抛出错误
*** 由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:'必须通过有效的重用 -[UICollectionView 的标识符 dequeueReusableCellWithReuseIdentifier:forIndexPath:]'
UICollectionView 需要做什么?
【问题讨论】:
标签: ios uicollectionview uistoryboard