SwiftUI @EnvironmentObject shared in nested view

前端 未结 0 584
清酒与你
清酒与你 2021-02-06 04:07

I\'m having trouble trying to understand the hierarchy using SwiftUI\'s @EnvironmentObject wrapper. I\'ve got a ViewModel that needs to be accessed in multiple screens within th

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