Elektrine lite

← Feed

@ryanlintott@mastodon.social

Post #2852232

2026-05-01 18:59 UTC

@jongary@macaw.social @mattiem@mastodon.social @colincornaby@mastodon.social ScrollViewReader is an older way to read the position but if you want to both read and set you should instead use ScrollViewPosition with a binding. https://developer.apple.com/documentation/SwiftUI/ScrollPosition

Replies (1)

  • @ryanlintott@mastodon.social 2026-05-01 19:01

    @jongary@macaw.social @mattiem@mastodon.social @colincornaby@mastodon.social There's a whole breakdown of the advances of ScrollView here > https://fatbobman.com/en/posts/the-evolution-of-swiftui-scroll-control-apis/

    Open ##2852233