SwiftUI: Calculate Scroll Offset in ScrollViews
Learn how to computer real-time offsets in a SwiftUI ScrollView
Published in
3 min readJan 8, 2022
SwiftUI, the new declarative way to create user interfaces, is really an amazing framework. A lot of things can be done in no time with full live previews but, sometimes, replicating something quite common in UIKit can become a pain in the neck. ScrollView offsets are one of…