Keyboard when tapping a text field in WebView

I investigated what determines the type of keyboard displayed when selecting a text field in a WebView. This time I tried with SFSafariView, but it should be the same with WKWebView```.

Conclusion

The type of keyboard displayed changes depending on the specification of ``` type`` in html.

//Ordinary keyboard
<input type="text" size="20" maxlength="30">

// PhonePad 
<input type="tel" size="20" maxlength="30">

In addition to this, by specifying url or email for type, you can display the keyboard according to each.

Recommended Posts

Keyboard when tapping a text field in WebView
When seeking multiple in a Java array
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
Add .gitignore when creating a project in Xcode
Escape processing when creating a URL in Ruby
A note when you want Tuple in Java
What I learned when building a server in Java