I have the following structure:
- Scroll view
- UIView
- Collection view
I gave the UIView
the following constraints:
- top, left, right, and bottom = 0
- Equal width and height to the
Scroll view
I've also disabled scrolling for the Collection view
, as I want the whole page to scroll together.
However, when items are added (dynamically) to the collection view and I try to scroll, nothing happens.
What am I doing wrong? How can I make sure that the page scrolls all together?