2013-04-11 53 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中。

相關問題