I have a ViewController with 3 views :
- Header (UIView)
- TabBar (UIView)
- UIView3 (UIView)
In my UIView3 I have a collectionViewController. A key element is that I put my collectionViewController.scrollEnable = False because otherwhise, when I'm scrolling, only the UIView3 is scrolling and I want my entier screen to scroll (so that if we scroll enough my Header and Tabbar are hidden.
So this is what I have :
And this is how my screen looks like :
Which is perfect. But, when I'm scrolling down, this is what it should looks like :
But instead, it looks like this :
I think my problem comes from the "dequeueReusableCellWithReuseIdentifier" function which doesn't see that I'm scrolling but I have no idea how to "refresh" the scroll value so it loads the end of cells 3-4 and also the cells 5-6.
Do you have any idea ?