Dismiss ios keyboard before app goes to background (#911)

This commit is contained in:
Godwin Asuquo
2023-05-02 16:30:19 +03:00
committed by GitHub
parent b2c603a47b
commit 0a35e5c3e1
+1
View File
@@ -107,6 +107,7 @@ import UnstoppableDomainsResolution
}
override func applicationWillResignActive(_: UIApplication ) {
self.window?.rootViewController?.view.endEditing(true)
self.window?.isHidden = true;
}