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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,6 +107,7 @@ import UnstoppableDomainsResolution
}
override func applicationWillResignActive(_: UIApplication ) {
self.window?.rootViewController?.view.endEditing(true)
self.window?.isHidden = true;
}