SwiftUI onChange() event doesn't work on TabView when swiping

后端 未结 0 1084
无人共我
无人共我 2020-12-11 00:22

I would like to change the value of a text when the active tab of a TabView changes. I tried using onChange(of: activeTab, perform: {}) to change the value of t

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