_ _____ _ _ _ __ _ _
_ | |_ / \| |_ _ _ __ | |__ ___ _ _| |/ /___ _ _| |__ ___ __ _ _ _ __| |
| || |/ /| .` | || | ' \| '_ \/ -_) '_| ' </ -_) || | '_ \/ _ \/ _` | '_/ _` |
\__//___|_|\_|\_,_|_|_|_|_.__/\___|_| |_|\_\___|\_, |_.__/\___/\__,_|_| \__,_|
|__/
JZNumberKeyboard is a custom numeric keyboard.
-
将JZNumberKeyboard文件夹导入到项目中
-
在要用到的视图引入头文件
#import "JZNumberKeyboard.h"
-
在viewDidLoad中
//初始化数字键盘
JZNumberKeyboard *keyBoard = [[JZNumberKeyboard alloc] init];
//输入视图textfield&textView
[keyBoard setInputView:textField];
//添加到主视图中
[self.view addSubview:textField];
JZNumberKeyBoard is licensed under the MIT Open Source license. For more information, please see the LICENSE file in this repository.