How to show collectionview cells aligned horizontally iOS swift

 Problem:

I want collectionview cells to be aligned horizondally.Because default it had aligned vertically.How to solve that?

Solution:    


It had the above options like vertical and horizontal.You must have to select horizontal option in scroll direction.


Comments

Popular posts from this blog

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift