0

I'm trying to make an application that only has one row of cells in a UICollectionView, however I'm using the FlowLayout and that stacks cells as seen below.

enter image description here

I want to make it something like this. Where the user can swipe left or right to get to the next cell. Is this possible?

enter image description here

Jude Michael Murphy
  • 1,198
  • 2
  • 12
  • 23
  • Check out this tutorial: [Paging with Collection Views](http://mobileappdev.learningtree.com/2012/12/13/paging-with-collection-views-part-1/) – Marcus Adams Aug 02 '13 at 16:48

1 Answers1

0

You have to do 3 things : Set the FlowLayout to scroll horizontally, enable paging, and set the size of your cell to take the whole space. All this can be done in a nib file in the settings of the CollectionView : (CollectionView - ScrollDirection, ScrollView - paging enabled, and CollectionViewSize - Cell Size/Height).


enter image description here

enter image description here

Nerkatel
  • 1,805
  • 16
  • 25