0

I would like to know how to change the direction of filling the UICollectionView when the scrolling direction is horizontal. The UICollectionView has 2 rows and 5 columns that are filled up from a one-dimensional array. Thanks.

Horizontal scrolling with vertical filling

Vertical scrolling with Horizontal filling

Gary Kerr
  • 13,650
  • 4
  • 48
  • 51
Pavel
  • 1
  • 2

1 Answers1

0

We can do same Springboard behavior using UICollectionView and for that, we need to write code for a custom layout. My friend has achieved it with custom layout class implementation with SMCollectionViewFillLayout.

Hitesh Surani
  • 12,733
  • 6
  • 54
  • 65