I'm a korea understand English is poor. :)
JSInterface class in..
func sayGreeting(_ message: String, _ name: String)
{
webView?.stringByEvaluatingJavaScript(from: "javascriptFunction(msg);")
}
ViewController
@IBOutlet weak var webView: UIWebView!
How do I use the webView declared as a property in the sayGreeting method?