Why don’t I need to toggle the isPresented variable myself for an alert?
Am working with an .alert
in SwiftUI with the code below. I found that I do not need to toggle the isPresented
variable myself within the buttons’ closures.
Am working with an .alert
in SwiftUI with the code below. I found that I do not need to toggle the isPresented
variable myself within the buttons’ closures.