Loading video...

Video Failed to Load

Go Home

Here's a solution to a very common issue with SwiftUI List and ScrollViews.

39,760 views • 2 years ago •via X (Twitter)

10 Comments

Kuba Szulaczkowski's profile picture
Kuba Szulaczkowski2 years ago

PSA: the default spacing for a safeAreaInset is NON-ZERO, so be sure to specify spacing: 0 if that’s not what you want

Anton Heestand's profile picture
Anton Heestand2 years ago

I’ve been using Geometry Readers way to much, thanks for this tip!

Gulam Ali's profile picture
Gulam Ali2 years ago

Helpful, thanks for sharing @seanallen_dev 🙏

BRYAN's profile picture
BRYAN2 years ago

Sean, I'd like to see your approach for making the banner appear when scrolling down and disappear when scrolling up.

François Boulais's profile picture
François Boulais2 years ago

Great modifier indeed! 🙌

Paweł Dembski's profile picture
Paweł Dembski2 years ago

Iv'e been there! 😅

Mohameth Seck's profile picture
Mohameth Seck2 years ago

This is perfect timing!

Michael Lima's profile picture
Michael Lima2 years ago

Literally was working on this two days ago ! Love the video ty

Blushing Gun's profile picture
Blushing Gun2 years ago

I did this but when a keyboard pops up on screen the mini-player rises with it

BJ Beecher's profile picture
BJ Beecher2 years ago

TIL

Related Videos