# JGCustomNumberKeyBoard **Repository Path**: JJet/jgcustomnumberkeyboard ## Basic Information - **Project Name**: JGCustomNumberKeyBoard - **Description**: 自定义拨号盘,可以用于拨打电话项目(适配了iPad中,自定义拨号盘放在系统键盘上被挡住的问题) - **Primary Language**: Objective-C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 1 - **Created**: 2017-06-05 - **Last Updated**: 2025-08-04 ## Categories & Tags **Categories**: ios-modules **Tags**: None ## README #JGCustomNumberKeyBoard ###一些技术要点: 1. 自定义拨号键盘(数字和字符分行)
2. 将自定义拨号盘加系统键盘上:(关键代码):
``` self.intputTextFeild.inputAccessoryView = self.numKeyboard; ``` ``` self.intputTextFeild.inputView = [[UIView alloc] init]; ``` ``` [self.intputTextFeild reloadInputViews]; ``` 3. 适配iPad(在iPad上不能将自定义键盘放在系统键盘上,因为会被它的操作条挡住); 4. 自定义拨号盘和底部操作条分离;(将操作条加载window最上层,不被键盘挡住); 5. 结合搜索框,控制拨号盘的隐藏显示; ###实现效果如下: ![](https://git.oschina.net/JJet/jgcustomnumberkeyboard/raw/master/JGNumberKeyBoard/JGNumberKeyBoard/Resoures/QQ20170608-193710-HD.gif)
## 宝贵意见 如果有任何问题,请到Git@OSC中发消息给我,写上你不明白的地方,我会在Git@OSC给予帮助。[这个是我的GitHub地址](https://github.com/JJetGu)