- Published on
how to scroll automatically in ScrollView
- Authors
- Name
scrollPosition(id:anchor:)
Associated a binding to be updated when a scroll view within this view scrolls
func scrollPosition(
id: Binding<(some Hashable)?>,
anchor: UnitPoints? = nil
) -> Some