I am trying to implement a CollectionView. When I am using Autolayout, my cells won\'t change the size, but their alignment.
CollectionView
Now I would rather want to
Finally got the answer. You should extend UICollectionViewDelegateFlowLayout This should be working with answers above.
UICollectionViewDelegateFlowLayout