The ScrollViewReader is a super-handy accessory to a ScrollView that allows us to programmatically scroll to a certain location within the ScrollView's content. By adding a "reader", we can quickly scroll to the top, bottom, or any specific item with just a few lines of code!
This video assumes you already know how the ScrollView works! If you want to learn more about how to use a ScrollView in general, I covered it in detail in the SwiftUI Bootcamp course, which you can find here: https://youtu.be/9QhhpeYKjOs
Next video: https://youtu.be/lMteVjlOIbM
Last video: https://youtu.be/O3QAI8Mxh8M
🤙 WELCOME BACK 🤙
WEBSITE: https://www.swiftful-thinking.com
DISCORD: https://discord.gg/tSzJGx9RwE
GITHUB: https://github.com/SwiftfulThinking/
SAY THANKS: https://www.buymeacoffee.com/nicksarno
Download
0 formats
No download links available.
ScrollViewReader to auto scroll in SwiftUI | Continued Learning #5 | NatokHD