4

How to scroll UICollectionView on both sides horizontally and vertically. How is it possible, please guide. Thanks inadvance.

iPhone Programmatically
  • 1,193
  • 2
  • 21
  • 52
  • Check my answer and tell me what happen? – Chirag Pipaliya May 20 '13 at 11:23
  • possible duplicate of http://stackoverflow.com/questions/13266170/uicollectionview-how-to-define-a-uicollectionviewlayout-that-supports-horizonta – Swapnil Luktuke May 20 '13 at 12:21
  • 1
    A UICollectionView is a subclass of UIScrollView, look at the docs for that – charleyh May 26 '13 at 03:23
  • I found some answers for this question in SO itself. Have a look at those.. [View with continuous scroll; both horizontal and vertical](http://stackoverflow.com/questions/15549233/view-with-continuous-scroll-both-horizontal-and-vertical?answertab=oldest#tab-top) [MyCollectionView](https://github.com/neildavis/MyCollectionView) – Anil Varghese May 27 '13 at 08:04
  • Have you checked my Answer ? – Bhavin May 30 '13 at 11:13

1 Answers1

3

According to the Discussion in RWForums for How to scroll UICollectionView in any direction ?

"The grid layout scrolls along one axis only, either horizontally or vertically."

Check out the two-part tutorial from Ray Wenderlich that uses a table view, but it demonstrates how to have cells within a section scroll horizontally, while the sections scroll vertically :

1) Part-1

2) Part-2

GoodLuck!!!

Bhavin
  • 26,755
  • 11
  • 52
  • 91