提交 4baeae88 编写于 作者: C Chris Bracken 提交者: GitHub

Switch iOS keyboard type if required (#3400)

Ensure that the text input keyboard is reloaded if the view keyboardType
changes.
上级 9053b6c0
......@@ -197,6 +197,7 @@ static UIKeyboardType ToUIKeyboardType(NSString* inputType) {
- (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configuration {
_view.keyboardType = ToUIKeyboardType(configuration[@"inputType"]);
[_view setTextInputClient:client];
[_view reloadInputViews];
}
- (void)setTextInputEditingState:(NSDictionary*)state {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册