我不能像使用UITableView. 用 a 执行此操作的等效方法是什么UICollectionView?
dequeueResuableCellWithReuseIdentifier:forIndexPath正在打电话sizeForItemAtIndexPath。作为回报,它正在调用dequeueResuableCellWithReuseIdentifier:forIndexPath等。
我要求能够检索单元格的高度dequeueResuableCellWithReuseIdentifier:forIndexPath。sizeForItemAtIndexPath我的故事板中有许多不同的单元格大小。