public static void UpdateKeyboard(this UITextView textView, IEditor editor) { var keyboard = editor.Keyboard; textView.ApplyKeyboard(keyboard); if (keyboard is not CustomKeyboard) { textView.UpdateIsTextPredictionEnabled(editor); } textView.ReloadInputViews(); }