标签: ios objective-c uikeyboardtype
UITextField.keyboardType=UIKeyboardTypeNumberPad;
答案 0 :(得分:0)
是的,这是可能的 使用此代码将键盘类型更改为swift
self.customTextField.keyboardType = UIKeyboardType.EmailAddress