Ios swift – SwiftUI popup alert, button action not working the first time
What I want to achieve: when clicking the save button, it pops up a box asking for the name. after user gives a name and hits the confirm button, it performs some actions and dismisses the view (return to the…