How to scroll UICollectionView on both sides horizontally and vertically. How is it possible, please guide. Thanks inadvance.
Asked
Active
Viewed 7,444 times
4
-
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
-
1A 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 Answers
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
- 27,155
- 11
- 55
- 94
-
ya it is using uitableview and i have done on uicollectionview. – iPhone Programmatically May 30 '13 at 11:20
-
@iPhoneProgrammatically : You can take the Basic Concept from there and modify it according to your requirement. :) – Bhavin May 30 '13 at 11:22
-
That's ok but it is totally different from done in uicollectionview i have already implemented the maximum functionality on this so can't change anything now and it's totally different from this. – iPhone Programmatically May 30 '13 at 11:36
-