Evening All and hope you had a good weekend.
I'm experiencing significant scrolling issues in my SwiftUI weather app running on iOS 17. When scrolling through the main content, the scrolling is glitchy and not smooth, particularly around transitions between different subviews in the scroll view.
The Issue
The scrolling behavior has these problems:
Stuttering/jittery movement during normal scrolling
The issue seems most noticeable around the transitions between the header sections and the content sections (WindDetailsView and WeatherDataView)
Smooth deceleration is affected, with visible "jumps" during momentum scrolling
The problem appears to be worse on devices with iOS 17 compared to previous iOS versions
Current Implementation
My app uses a standard SwiftUI ScrollView with offset tracking to create a parallax effect for the header when scrolling. I'm calculating offset values to animate the header and adjust its opacity as the user scrolls.
Here's the core structure:
Topic:
UI Frameworks
SubTopic:
SwiftUI