3 我在XCode中创建了一个文本字段,而不是Interface Builder。在IB中,您可以选择不同的键盘类型。你怎么能在XCode中做同样的事情?如何更改Xcode中文本字段的键盘类型 来源 2010-09-24 node ninja
0 1)在XIB可以通过单击键盘类型像下面 2)编程可以通过textField.keyboardType = UIKeyboardTypeNumbersAndPunctuation设置改变; 来源 2017-05-16 06:20:03 Nithinbemitk