摘要: 前几天在使用 UICollectionView 时碰到 cellForItemAtIndexPath 这个数据源方法没有被调用。这是一个 collectionView 返回 cell(item)的数据源方法。 一般情况,它没有被调用的原因有下: 1. 没有设置 delegate。 2. 控制器没有遵 阅读全文
posted @ 2016-09-10 11:04 布尔- 阅读(2098) 评论(0) 推荐(0) 编辑