[#50] Disable third party keyboards (#424)

Closes #50
This commit is contained in:
Michal Fousek 2022-09-26 19:25:44 +02:00 committed by GitHub
parent 6bf65b1d4d
commit 92289bb036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,13 @@ final class AppDelegate: NSObject, UIApplicationDelegate {
appViewStore.send(.appDelegate(.didFinishLaunching))
return true
}
func application(
_ application: UIApplication,
shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplication.ExtensionPointIdentifier
) -> Bool {
return extensionPointIdentifier != UIApplication.ExtensionPointIdentifier.keyboard
}
}
@main