I'am trying to do this function in Swift 3
self.dict = result as! [String : AnyObject]
self.webView.stringByEvaluatingJavaScript(from: "setFacebookResult(\(self.dict),\(self.userToken))")
I have to pass the token and the result to a global function in javascript but this params dont go correctly to the method. Pls help me!
stringByEvaluatingJavaScript?