UICollectionViewCell init方法从不调用

时间:2014-10-09 21:17:29

标签: ios uicollectionview

我想覆盖UICollectionViewCell的init方法,但它永远不会被调用。

我通过[collectionView dequeueReusableCellWithReuseIdentifier:@"CellIdentifier" forIndexPath:indexPath];

获取了该单元格

所以我尝试了init, initWithFrame, initWithCoder,但这对我没有帮助。

我能在例如apple docs UICollectionViewCell生命周期中看到吗?因为我还没找到它。

0 个答案:

没有答案
相关问题