2013-04-11 50 views
1

我在UICollectionView中使用了CustomCellClass。在uilabel sizeToFit中尝试这个类但不工作。UICollectionView在UILabel sizeToFit

但在cellForItemAtIndexPath方法中创建新的uilabel,正在工作。

如何在CustomCellClass中设置SizeToFit UICollectionView UILabel;

谢谢。

+0

你有试过什么吗? – emecas 2013-04-11 07:21:47

回答

0

将其弹出到CustomCellClass layoutSubviews中。

相关问题