ios - UICollectionView cells allign horizontally instead of vertically to mimmick springboard? -


Trying to display the iPhone 5 app springboard (horizontal line and 4 apps in 5 rows) in my collection view Am my apps I currently have 5 cells (approximately 25 cells or so many plans) and the collection view is set to scroll horizontally when paging is enabled which works but when I add the cells to this method :

  - See the (NSInteger) archive: (UICollectionView *) View numberoff item ins: (NSINtega) section {return apps.count; // current 5}   

They vertically horizontally align, how can I align this horizontal?

Here's a sketch

> What's happening:

  Cell cell cell cell cell   

What do I have to do:

  Cell cell cell cell   

Can someone help me with this?

You need to create a UICollectionViewLayout

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -