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.
Asked
Active
Viewed 226 times
0
-
Any design image – karthikeyan Apr 23 '19 at 11:56
-
try `collectionView.transform = CGAffineTransform(scaleX: -1, y: 1)` – Cerlin Apr 23 '19 at 12:12
-
I have find the answer for my question: [How to change the direction of filling the UICollectionView?](https://stackoverflow.com/a/39951962/8219058) – Pavel Apr 26 '19 at 10:13
1 Answers
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