UIApplication.shared.delegate equivalent for SceneDelegate xcode11?
As of iOS 13, UIApplication has the connectedScenes property which is Set<UIScene>. Each of those scenes has a delegate which is a UISceneDelegate. So you could access all of the delegates that way. A scene can manage one or more windows (UIWindow) and you can get a window’s UIScene from its windowScene property. If you … Read more