SwiftUI: Replacing window dismisses only topmost modal view

前端 未结 0 430
我寻月下人不归
我寻月下人不归 2020-12-02 03:59

I need to show a login screen when the user session is expired. I tried to achieve this by changing the current window:

@main
struct ResetViewHierarchyApp: Ap         


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