Swift closure assistance for WKWebView evaluatejavascript

前端 未结 0 764
别跟我提以往
别跟我提以往 2021-01-15 10:28

So previously with UIWebView() I can get the user agent with,

UIWebView().stringByEvaluatingJavaScript(from: "navigator.userAgent")!
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题