使用了自定义键盘之后需要切换回系统自带的数字键盘
- (void)changeKeyBoard{
[_inputView becomeFirstResponder];
_inputView.inputView = nil;
[_inputView reloadInputViews];
_inputView.keyboardType = UIKeyboardTypeNumbersAndPunctuation;
}
使用了自定义键盘之后需要切换回系统自带的数字键盘
- (void)changeKeyBoard{
[_inputView becomeFirstResponder];
_inputView.inputView = nil;
[_inputView reloadInputViews];
_inputView.keyboardType = UIKeyboardTypeNumbersAndPunctuation;
}
本文标题:切换键盘
本文链接:https://www.haomeiwen.com/subject/fyhwxqtx.html
网友评论