UICollectionView with self sizing cells uses estimatedItemSize for delete animation : <p>I'm using <code>UICollectionView</code> with self sizing cells and have set the <code>estimatedItemSize</code> property for this to work.</p>

<p>When performing a delete animation however, the cells animate to their position if they were sized with the <code>estimatedItemSize</code> property, rather than their auto layout (actual) size.</p>

<p>What's worse is that our cells are variable sizes and there doesn't seem to be a method like <code>UITableView</code> where we can pass an estimated size per index path.</p>

<p>I attempted to subclass the collection view flow layout and override the <code>initialLayoutAttributesForAppearingItemAtIndexPath(_:)</code> and <code>finalLayoutAttributesForDisappearingItemAtIndexPath(_:)</code>, but on inspection the superclass's return values for these methods are correct.</p>

<p>Does anyone know of a solution to this seemingly basic bug?</p>
