一点击UITextField,logo显示区就打印如下:
Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 1336863583__PortraitChoco__iPhone-Simple-Pad__Default_
_我对UITextField的代码如下:
rect = CGRectMake(xx + side * 2.0, yy, ww - side * 2.2, hh);
phoneTextField = [[UITextField alloc] initWithFrame:rect];
CGFloat fontSize = hh * 0.45;
UIFont *font = [UIFont systemFontOfSize:fontSize];
phoneTextField.font = font;
phoneTextField.placeholder = @"输入手机号码";
if (kIsiPad) {
phoneTextField.returnKeyType = UIReturnKeyNext;
}
phoneTextField.keyboardType = UIKeyboardTypeNumberPad;
phoneTextField.delegate = self;
phoneTextField.clearButtonMode = UITextFieldViewModeWhileEditing;
[self addSubview:phoneTextField];
iOS键盘弹出警告"Can't find keyplane......"
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答
悬赏问题
- ¥15 shape_predictor_68_face_landmarks.dat
- ¥15 slam rangenet++配置
- ¥15 对于相关问题的求解与代码
- ¥15 ubuntu子系统密码忘记
- ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
- ¥15 保护模式-系统加载-段寄存器
- ¥15 电脑桌面设定一个区域禁止鼠标操作
- ¥15 求NPF226060磁芯的详细资料
- ¥15 使用R语言marginaleffects包进行边际效应图绘制
- ¥20 usb设备兼容性问题