iOSiOS 14 @main获取UIWindow对象 从iOS13以后,可以通过 UISceneWindowDelegate. @main struct DemoApp: App { var window: UIWindow? { guard let scene = UIApplication.shared.connectedScenes.first, ……继续阅读 » 7个月前 (07-31) 417浏览 0评论 0个赞