Streaming live at 10am (PST)

I want to create a tab scroll effect like on the Apple developer page

On apple’s developer page talking about SwiftUI, They have this cool scroll effect that changes the image based on where the screen position is.
I think it may be designed tabs where the tab content is “sticky” and thus creating this effect?
If so, I am unsure how to achieve the change to tab in view only based on scrolling.

Here is a video showing the effect