如何在不使用reload
方法的情况下调整UICollectionView
的单元格大小?我只想在某些事件上调用以下方法。我不想重新加载UICollectionView
或其任何部分或行。
func collectionView(collectionView: UICollectionView,
layout collectionViewLayout: UICollectionViewLayout,
sizeForItemAtIndexPath indexPath: NSIndexPath) -> CGSize