Replies: 1 comment 1 reply
-
Hi @ohsg0226, thanks for this report, I now see the issue you are describing. Do you know if this works on earlier versions of Xcode/SwiftUI? Have you tested in 14.2, 14.1 or 14? Or maybe even 13.4? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First image is 01-GettingStarted-AlertsAndConfirmationDialogs in SwiftUICaseStudies Examples.
According to the code flow, A new alert should appear when the Incremented button is pressed in the Alert that appears after pressing the Alert button.
But it doesn't work.
I think this problem occurs to "state.alert = nil"
so i deleted "state.alert = nil"
In this case it works fine like the second image.
But I don't think this is a perfect solution.
I would like some advice to solve this problem.
Beta Was this translation helpful? Give feedback.
All reactions