在iOS中将自定义键盘设置为UITextField
我已经用iOS自定义键盘扩展创建了自定义键盘在iOS中将自定义键盘设置为UITextField,ios,custom-keyboard,ios-keyboard-extension,Ios,Custom Keyboard,Ios Keyboard Extension,我已经用iOS自定义键盘扩展创建了自定义键盘 class KeyboardViewController:UIInputViewController{//自定义键盘代码} 我有两个问题 如何创建此自定义键盘扩展的静态库。因此,我可以向最终用户提供自定义键盘,并且自定义键盘代码不会向最终用户公开 如何以编程方式将自定义键盘设置为UITextField/UITextView。这样地 self.txtFieldPassword.keyboardType=.numberPad
class KeyboardViewController:UIInputViewController{//自定义键盘代码}
我有两个问题
self.txtFieldPassword.keyboardType=.numberPad