Post #2852231
2026-04-28 22:57 UTC
@mattiem@mastodon.social @colincornaby@mastodon.social @ryanlintott@mastodon.social this looks promising
https://developer.apple.com/documentation/swiftui/scrollviewreader
Replies (1)
-
@ryanlintott@mastodon.social 2026-05-01 18:59
@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