Casting UIWindow.rootView to UIHostingController which has environment variables

前端 未结 0 878
执笔经年
执笔经年 2021-02-14 21:25

Casting UIWindow.rootView to a hosting controller like:

window?.rootViewController as? UIHostingController

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