how to set margin to collection view?
jimmyzzzzzzz opened this issue · 3 comments
jimmyzzzzzzz commented
I can set column spacing for spacing between columns, how can I set leading and trailing space to superview for the first and last column?
everlof commented
Use this: @property (nonatomic, assign) UIEdgeInsets sectionInset;
to get that effect.
jimmyzzzzzzz commented
thanks, this works great!
girish54321 commented
Thanks @everlof