Resizable ScrollView Header | Scroll To Hide Header | SwiftUI | iOS 18+

Kavsoft on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

LivestreamIntermediateDesign Engineering10 min

About this video

A SwiftUI tutorial that builds a resizable header which shrinks and hides as the user scrolls, using the ScrollView scroll APIs. It is aimed at developers who already write SwiftUI and want to add scroll-linked header animations to iOS 18 apps.

What you’ll learn

  • Build a sticky header that resizes as a ScrollView scrolls
  • Hide a header on scroll using SwiftUI scroll APIs
  • Animate header content with scroll-driven geometry in SwiftUI