Your First iOS and SwiftUI App Ā· Writing Methods | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4919757-your-first-ios-and-swiftui-app/lessons/23

Hi,
Iā€™m wondering once i tap hit me button alertIsVisible = true then i close popup and start dragging slider. In this case, sliderValue will be changed accordingly and make body refresh but why the popup did not prompted again while alertIsVisible is still true. I think it will but it does not

Thanks

1 Like

Hello,
I have the same question as above. At what point do we update the alertIsVisible value to false so that UI remains consistent?