Closed tylerswartz closed 6 years ago
Hey @tylerswartz, TagCellLayout
uses UICollectionViewLayout
as super class and sectionInset
is only available in UICollectionViewFlowLayout
.
Thanks for the reply. I ended up embedding it within a container view and apply the insets there. That did the trick.
👋 Ritesh -
I'm having trouble setting the insets for my CollectionView programmatically (I'm not using a story board). Right now it's taking up the entire view, but I need it to appear below some text and above a button at the bottom of the view.
For a typical UICollectionView I've used
sectionInset
to set it in the proper position:This doesn't seem to work for tagCellLayout. Any ideas?
Thanks for the help 😊