UIWebview
has (had?) an extremely useful function that enabled access to javascript
variables from Swift
.
func stringByEvaluatingJavaScriptFromString(_ script: String) -> String?
Does WKWebview
have an equivalent function or idiom enabling access to javascript
variables from Swift
?