arcgis-maps-sdk-swift-toolkit icon indicating copy to clipboard operation
arcgis-maps-sdk-swift-toolkit copied to clipboard

Use `onScrollGeometryChange(for:of:action:)` where applicable on `ScrollView`s

Open dfeinzimer opened this issue 1 year ago • 0 comments
trafficstars

iOS 18 adds onScrollGeometryChange(for:of:action:)

From What's new in SwiftUI - WWDC '24:

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.

dfeinzimer avatar Sep 12 '24 19:09 dfeinzimer