【发布时间】:2015-08-24 07:58:15
【问题描述】:
在我的应用程序中,我有一个使用 UIKeyboardTypeEmailAddress 的 UITextField。
底部中间有空格键。我认为不需要空格键。
所以我想将密钥更改为 gmail.com 或 hotmail.com。 有可能吗?
即使有可能,Apple 也会批准?
【问题讨论】:
标签: ios iphone keyboard customization
在我的应用程序中,我有一个使用 UIKeyboardTypeEmailAddress 的 UITextField。
底部中间有空格键。我认为不需要空格键。
所以我想将密钥更改为 gmail.com 或 hotmail.com。 有可能吗?
即使有可能,Apple 也会批准?
【问题讨论】:
标签: ios iphone keyboard customization
是的,您可以设计自己的输入视图,而不是使用UIKeyboardTypeEmailAddress(我想在您的情况下将是您设计的任何键盘),然后将其设置为文本字段的输入视图。
Sample code can be seen in this tutorial 和 more information can be found in this official Apple documentation。
【讨论】: