Posts

Post not yet marked as solved
8 Replies
1.2k Views
Hi.I am using "UITextInputMode" to fix the language mode.But "UITextInputMode" doesn't work on IOS13.1."UITextInputMode" works until "IOS13.0".Please tell me the workaround.Is this an OS-dependent bug? override var textInputMode: UITextInputMode? { if toriTapp { if let language = getKeyboardLanguage() { toriTapp = false for tim in UITextInputMode.activeInputModes { if tim.primaryLanguage!.contains(language) { return tim } } } return super.textInputMode } return super.textInputMode } private func getKeyboardLanguage() -> String? { return "en" }
Posted Last updated
.