I have an iOS web app with a WKWebView
. I would like an HTML input to auto focus when the app is opened. What I've tried and hasn't worked:
html
autofocus
tag<input autofocus />
JavaScript
document.getElementById("my_input").focus();
Thank you for your help.