Hide app screen from switcher (#870)

This commit is contained in:
Serhii
2023-04-10 19:10:35 +02:00
committed by GitHub
parent 4fd8b722e9
commit 28c80fe699
2 changed files with 16 additions and 1 deletions
+8
View File
@@ -110,4 +110,12 @@ import UnstoppableDomainsResolution
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
override func applicationWillResignActive(_: UIApplication ) {
self.window?.isHidden = true;
}
override func applicationDidBecomeActive(_: UIApplication) {
self.window?.isHidden = false;
}
}