@State Variable Not Updating When Passed Through Binding Variable SwiftUI

后端 未结 0 456
天命终不由人
天命终不由人 2021-01-16 04:37

So I am trying to pass a variable from one view to another using Bindings. When I tap on the ExpenseRow, it sets the index to the expenseArrayIndex State variable and prints

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