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!
Top comments (0)