简体   繁体   English

为iPhone设备中的内容可编辑div获取电子邮件键盘而不是默认键盘

[英]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.

相关问题 默认键盘出现在iPhone而不是我的自定义键盘 - Default Keyboard appears in iPhone instead of my custom keyboard 如何在不显示当前设备的情况下获取默认键盘的大小? - How to get size of default keyboard for current device without it being displayed? UITextField不可编辑,并且不显示键盘 - UITextField not editable and not showing keyboard 具有可编辑UIWebView的自定义键盘? - Custom keyboard with editable UIWebView? 如何在iPhone上获得键盘的大小? - How can I get the size of the keyboard on iPhone? 有没有办法查看iPhone设备是否打开或关闭“键盘点击”功能? - Is there a way to see if the iPhone device has “Keyboard Clicks” on or off? iPhone自定义键盘无法在运行iOS 8的物理设备上加载 - iPhone Custom keyboard does not load on physical device running iOS 8 如何在 iPhone 上默认显示数字键盘? - How can I show the numeric keyboard by default on iPhone? 在IOS中通过蓝牙连接条形码扫描仪设备时,默认键盘不出现 - Default keyboard is not coming when Barcode Scanner Device is Connected by Bluetooth in IOS UISplitViewController在iPhone上出现键盘时调整应用程序内容的大小 - UISplitViewController Resizing App Content when Keyboard Appears on iPhone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM