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```.
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