How to change the label of a button by using an if statement in SwiftUI

后端 未结 0 1886
星月不相逢
星月不相逢 2021-02-19 07:55

I want my button to look different after pressing the button. I am trying to do so by using a ZStack and an if statement. I don\'t understand why it won\'t toggle between a blac

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