UI-Issues while reordering UICollectionView with full-width and dynamic height cells
问题 I have a CollectionView with cells that have full-width and a dynamic (auto-layout-calculated) height. I do so by setting an estimated height: flowLayout.estimatedItemSize = CGSize(width: 200, height: 10) Then returning the full width and a arbitrary height in the delegate method. public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { return CGSize(width: collectionView.bounds.width,