Set insets to the CollectionView programmatically in Swift

Viewed 18550

I have ViewController with the CollectionView in it. I want to change CollectionView insets by pressing button. What code I should implement?

Thank you!

1 Answers
Related