This commit is contained in:
Ivan Grachev 2021-08-21 16:30:56 +03:00
parent 8b46ec1b23
commit cb54b5c248
3 changed files with 1 additions and 4 deletions

View File

@ -10,4 +10,3 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
}

View File

@ -10,7 +10,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let _ = (scene as? UIWindowScene) else { return }
guard (scene as? UIWindowScene) != nil else { return }
}
func sceneDidDisconnect(_ scene: UIScene) {
@ -42,4 +42,3 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
}
}

View File

@ -10,4 +10,3 @@ class ViewController: UIViewController {
}
}