Post

Replies

Boosts

Views

Activity

Button Responsiveness Problems in SwiftUI Apps After Upgrading to iOS 18
I've been encountering significant issues with button responsiveness across my entire SwiftUI application after upgrading to iOS 18. While everything worked as expected on iOS 17, buttons across various views now sometimes fail to respond to initial taps and require a long press to trigger actions. Here is a sample of a button within a toolbar, similar issues are occurring with other buttons throughout the app: .toolbar { ToolbarItem(placement: .topBarLeading) { Button(action: { DispatchQueue.main.async { navigationCoordinator.pushScreen(.account) } }) { Image("User") .resizable() .scaledToFit() .frame(width: 24.5, height: 24.5) } } } Expected Behavior: All buttons in the application should respond to a simple tap without requiring additional user effort, maintaining consistency with their behavior on iOS 17. Actual Behavior: On iOS 18, the responsiveness of buttons throughout the application is inconsistent; sometimes they react to a simple tap, and other times they only respond to a long press. This erratic behavior disrupts the user experience and hinders basic app functionality. I am looking to understand whether this is a widespread issue with the new OS version and if there are any fixes or patches anticipated from Apple. Thank you for your assistance!
6
7
911
Oct ’24