IOS large header not working with background view behind scrollView

I use large headers, in the main view I have a scrollView and a view behind scrollView, which is a background image. When I do this, large headers do not work (they are always large while you scroll), because scrollView is not the first element inside the main view. If I change the order, the background image spans the scroll view.

Any solutions? Thank!!

-1
source share
1 answer

I found a solution, I moved the background view inside the scroll, and I got attached to the main view with restrictions.

0
source

Source: https://habr.com/ru/post/1687351/


All Articles