'SwiftUI - Syncing ScrollViews
How would I make two ScrollViews sync whilst scrolling?
ScrollView (A) - On the left of the screen, moves vertically up and down
ScrollView (B) - On the right, moves vertically and horizontally.
If A moves up and down, B should move the same vertical distance and vice versa
-----------------------------------------------
| | |
| | |
| A | B |
| | |
| Scrolls | Scrolls both Horizontally |
| Vertically | & Vertically |
| | |
----------------------------------------------
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
