See attached screenshot, I have loaded website locally with MKWebview. now i want to access the .js file's variable and change it's value in swift when user click on button in webview. is it possible?
if yes then fine otherwise is it possible to access appDelegate's variables to in to .js file in swift 4?
it is argent, also type "AN" at starting in proposal for avoiding unnecessary build.
if you provide demo then it is fine also.