SwiftUI MVVM how to set callback from ViewModel function to View

前端 未结 0 1850
醉酒成梦
醉酒成梦 2021-01-25 12:14

I am setting up a login page logic with MVVM and I could not figure out how to modify the user login state after calling the function from ViewModel.

LoginView

<         


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