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 • 1 year ago •via X (Twitter)

10 Comments

Kuba Szulaczkowski's profile picture
Kuba Szulaczkowski1 year 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 Heestand1 year ago

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

Gulam Ali's profile picture
Gulam Ali1 year ago

Helpful, thanks for sharing @seanallen_dev 🙏

BRYAN's profile picture
BRYAN1 year 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 Boulais1 year ago

Great modifier indeed! 🙌

Paweł Dembski's profile picture
Paweł Dembski1 year ago

Iv'e been there! 😅

Mohameth Seck's profile picture
Mohameth Seck1 year ago

This is perfect timing!

Michael Lima's profile picture
Michael Lima1 year ago

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

Blushing Gun's profile picture
Blushing Gun1 year ago

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

BJ Beecher's profile picture
BJ Beecher1 year ago

TIL

Related Videos