Answers for "ios webview inject javascript"

1

swift javascript injection

let js = "var myelement = document.getElementById(\"test\");myelement.innerHTML= \"New Text\";"
webView.evaluateJavaScript(js, completionHandler: nil)
Posted by: Guest on March-25-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language