So I have a view controller with a UIScrollView on it working just fine. I'd like to put a view above it with some buttons on it that stay there when you scroll down. When I do so, however, it's not rendering anything that's not in the scrollView.
Here's an example of my View Controller hierarchy:
I've tried putting the "stationary" view in both "Position 1" and "Position 2", but it's just not showing.
I've also tried setting the Scroll View's Content and Scroller Inset top values to 40 to make sure there was room for the stationary view to show above the scroll view... still no luck.
Am I missing something, doing something wrong... or is this not possible because the scroll view is taking control of the entire view controller area?
Thanks
[Edit] As I was writing this I decided I should try this with the scrollView inside and at the end of the view I want stationary... still doesn't appear to show the buttons.
Here's an example of my View Controller hierarchy:
- View
- Position 1
- Scroll View
- View
- ...bunch of stuff here...
- View
- ...bunch of stuff here...
- View
- Position 2
I've tried putting the "stationary" view in both "Position 1" and "Position 2", but it's just not showing.
I've also tried setting the Scroll View's Content and Scroller Inset top values to 40 to make sure there was room for the stationary view to show above the scroll view... still no luck.
Am I missing something, doing something wrong... or is this not possible because the scroll view is taking control of the entire view controller area?
Thanks
[Edit] As I was writing this I decided I should try this with the scrollView inside and at the end of the view I want stationary... still doesn't appear to show the buttons.
Last edited: