Sorry I'm new to Objective c / iOS dev.
So I have two view controllers displaying separate views on one iOS page written in objective C.
View 1 is a static page. View 2 is a scrollable list (UICollectionViewDataSource) that I plan to implement an infinite scroll in.
Right now view 1 scrolls up and down as expected. View 2 sometimes depending on how you tap the screen scrolls as one with view 1 (they both go up and down together) and it sometimes scrolls under view controller 1. How can I create a permanent behavior where they scroll together? I want them to move as if they are connected (as if I were scrolling through a web page that had a table that I could scroll down through).
I searched around (I may be using the wrong search terms) but everything I see has to do with switching between two or more view controllers. (ex Swipe between two UIViewControllers' views)
In case it is unclear I want the following behavior:
Original Page:
xxx
xyx
xxx
111
222
Scroll down:
xyx
xxx
111
222
333
Continue sroll:
xxx
111
222
333
444
That sometimes happens but I'm also seeing:
xxx
xyx
xxx
222
333
Or even:
xxx
xyx
xxx
(background color blank space)
111
222
It looks clearly disjoint.