Reputation: 187
Im trying to implement a CollectionView inside my viewController.
And it works just fine.
The problem Im having is that the CollectionView scrolls inside the Parent controller.
I wish to make that if you scroll the collection view - the whole view is scrolled and not just the collection view bit.
I tried disabling scrolling on the Collection View but then nothing is scrolling anymore.
So how would I go about setting the collection view, so that once you scroll on it the whole page scrolls and not just the collection view scrolling inside the parent view controller?
Upvotes: 2
Views: 538
Reputation: 13283
It should be simple, and you've done one right thing already.
These answers of mine in the past should help you:
Voila. The only scrolling enabled is your scrollView that contains your collectionView (or tableView).
Upvotes: 1