代码之家  ›  专栏  ›  技术社区  ›  David

禁用iphone键盘上的数字和标点符号按钮

  •  0
  • David  · 技术社区  · 15 年前

    谢谢。

    1 回复  |  直到 15 年前
        1
  •  0
  •   Ajay Sharma    15 年前
     Looking like you used the Default Keyboard....instead you can try to use:
    
     yourTextField.keyboardType = UIKeyboardTypeAlphabet;  This might solve your problem.
    

    &如果这不能以其他方式解决您的问题,则是:

    ---->您需要根据需要创建自定义小键盘。