SwiftUI Tutorial: Programmatic Scrolling with ScrollViewReader

How to programmatically scroll to a specific location

Arc Sosangyo
Dev Genius
Published in
5 min readMar 12, 2023

--

Figure 1.

Just in case you’re designing a SwiftUI app with a long list or view, you may want to provide a more interactive experience for users by allowing them to jump to specific parts of the list. One way to do this is by using the ScrollViewReader view, which you can embed…

--

--