Thread by @twostraws
Swift · · 1 min read · x.com ↗
Paul Hudson @twostraws 2026-04-24
Use scrollTargetLayout() with .viewAligned to snap between individual child views, or .paging to move exactly one screen at a time. https://hackingwithswift.com/quick-start/swiftui/how-to-make-a-scrollview-snap-with-paging-or-between-child-views…