How to work around swiftUI environmentObject not available in view initializer?

后端 未结 0 707
星月不相逢
星月不相逢 2021-01-24 09:52

I have read SwiftUI EnvironmentObject not available in View initializer? which says that environmentObject is not available for use in init()

That being said

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