1

I have a TabView like so:

TabView {
  View1().tabItem{Text("1")}
  View2().tabItem{Text("2")}
  View3().tabItem{Text("3")}
}

Whenever I enter a TextField in any of the views, onAppear() gets called on all of the views causing bugs and other issues.

Anyone know what could be causing this?

Fred
  • 381
  • 5
  • 17

0 Answers0