Make a Button do multiple actions in XCode

后端 未结 0 2004
时光取名叫无心
时光取名叫无心 2021-01-24 06:12

I am trying to use this button (Start Game) to change a variable and run a function. How do I do so?

Button(action: self.addNewToDo, label: { Text("Start Game&

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