Yalantis / DisplaySwitcher

Custom transition between two collection view layouts
https://yalantis.com
MIT License
2.33k stars 190 forks source link

How to set the spacing between cells #53

Open kaaaaai opened 2 years ago

kaaaaai commented 2 years ago

I used this method but it didn't work:

        collectionView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)