There are a bunch of new APIs to give you fine grained control of your scroll views. You can now have deeper level of integration with the state of a ScrollView with .onScrollGeometryChange, which lets you performantly react to changes in things like content offsets, content size and more.
Here are the current uses of ScrollView in the Toolkit.
iOS 18 adds
onScrollGeometryChange(for:of:action:)
From What's new in SwiftUI - WWDC '24:
Here are the current uses of
ScrollView
in the Toolkit.