Post

Replies

Boosts

Views

Activity

SwiftUI ScrollView Jittery/Glitchy Scrolling in iOS 17
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
2
0
76
Apr ’25
iOS Simulator Keychain Issues After Xcode Reinstall
Hello All I'm encountering an issue with Keychain access in iOS simulators after reinstalling Xcode. My app successfully accesses the Keychain on physical devices, but simulators consistently fail with errors. Details: App uses Keychain to store API keys Works perfectly on physical devices After Xcode reinstall, simulator Keychain access fails Error logs show "Keychain retrieve failed for key with status: -25300" I've properly configured Keychain Sharing entitlements My entitlements file includes: $(AppIdentifierPrefix)******* What I've tried: Resetting simulators Deleting simulator Keychain databases manually Adding Keychain Sharing capability Ensuring entitlements are correct My app worked fine with simulators before reinstalling Xcode, which suggests something changed in the development environment rather than my code. Has anyone encountered similar issues? Is there a recommended approach for handling Keychain access in simulators that's more resilient to Xcode environment changes? Thanks for your help!
0
0
85
Apr ’25