This content originally appeared on DEV Community and was authored by Yossa Bourne
Stretchy & sticky header is a very popular UI, and that’s what we’ll build together in this video. Since iOS 17, Apple provides us many simple yet powerful APIs on SwiftUI ScrollView. We’ll use one of that — onScrollGeometryChange — to help us achieve the effect easily.
What you’ll learn:
- How to use .onScrollGeometryChange modifier
- How to implement stretchy & sticky header in SwiftUI
Please subscribe me and my channel - AppDuck for more videos!
There are other videos I've made about cool animations in SwiftUI. I also upload Swift and SwiftUI knowledge videos weekly!
This content originally appeared on DEV Community and was authored by Yossa Bourne

Yossa Bourne | Sciencx (2025-03-05T02:45:00+00:00) Stretchy & Sticky Header in SwiftUI on iOS 18 [Video]. Retrieved from https://www.scien.cx/2025/03/05/stretchy-sticky-header-in-swiftui-on-ios-18-video/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.