如何更改Xcode中文本字段的键盘类型 [英] How to change the keyboard type for a text field in Xcode

查看:97
本文介绍了如何更改Xcode中文本字段的键盘类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在XCode中创建了一个文本字段,而不是Interface Builder。在IB中,您可以选择不同的键盘类型。如何在XCode中做同样的事情?

I created a text field in XCode, not Interface Builder. In IB you can select different keyboard types. How can you do the same thing in XCode?

推荐答案

keyboardType property?

How about the keyboardType property?

这篇关于如何更改Xcode中文本字段的键盘类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆