I am facing the same issue. My code works without any bug on Xcode 15 and till iOS 17. As soon as i upgraded to Xcode 16 and running the app on iOS 18 then same issue persists. Any solution for this?
Topic:
UI Frameworks
SubTopic:
SwiftUI