[英]Get email keyboard instead of default keyboard for content editable div in iPhone device
I have created an advance email input field with content editable div for my ionic2 app. 我为ionic2应用程序创建了一个内容可编辑div的高级电子邮件输入字段。 Is there any way to open the email key keyboard instead of default keyboard in iPhone devices ?
有什么方法可以打开iPhone设备中的电子邮件键盘,而不是默认键盘?
In the interface builder, choose the keyboard type to be 'Email address'. 在界面构建器中,将键盘类型选择为“电子邮件地址”。 Else change the keyboard type via code as
否则通过代码将键盘类型更改为
inputField.keyboardType = emailAddress;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.