@State boolean value not changing when setting via a particular func within a SwiftUI struct

前端 未结 0 717
情书的邮戳
情书的邮戳 2020-12-22 14:48

I am trying to update a @State boolean named showPopup via a showPopup(v: AnyView) method which is located in my ContentView struct.

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题