I have an UICollectionView where the items can modify at run time it's height.
The problem is that when an item is higher than another, the item are surrounded by a lot o blank space.

I'm looking for a property that create this:

and I want use UICollectionView not github example or third part implementation.
Thanks.