正在加载视频...

视频加载失败

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

39,760 次观看 • 1 年前 •via X (Twitter)

10 条评论

Kuba Szulaczkowski 的头像
Kuba Szulaczkowski1 年前

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 的头像
Anton Heestand1 年前

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

Gulam Ali 的头像
Gulam Ali1 年前

Helpful, thanks for sharing @seanallen_dev 🙏

BRYAN 的头像
BRYAN1 年前

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

François Boulais 的头像
François Boulais1 年前

Great modifier indeed! 🙌

Paweł Dembski 的头像
Paweł Dembski1 年前

Iv'e been there! 😅

Mohameth Seck 的头像
Mohameth Seck1 年前

This is perfect timing!

Michael Lima 的头像
Michael Lima1 年前

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

Blushing Gun 的头像
Blushing Gun1 年前

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

BJ Beecher 的头像
BJ Beecher1 年前

TIL

相关视频