Scroll to Index in SwiftUI

<p>The scroll view reader&rsquo;s content view builder receives a&nbsp;<code><strong>ScrollViewProxy</strong></code>instance; A proxy value that supports programmatic scrolling of the scrollable views within a view hierarchy. with the use of proxy&rsquo;s to perform&nbsp;<code><strong>scrollTo(index)</strong></code>scrolling.</p> <p><code><strong>ScrollViewProxy</strong></code>scans all scroll views contained by the proxy for the first with a child view with identifier&nbsp;<code>id</code>, and then scrolls to that view.</p> <p>Lets jump to Coding.</p> <p><a href="https://medium.com/@Lakshmnaidu/scroll-to-index-in-swiftui-f69aaacffab9"><strong>Visit Now</strong></a></p>
Tags: index SwiftUI