Sua Le

Results 5 comments of Sua Le

@kantsoft: what did you mean "use the webView declared as property in the sayGreeting method" ? sayGreeting method is a method of Swift, you can use swift to declare some...

@kantsoft you are wrong: webView.addJavascriptInterface(ViewController(), forKey: "ios"); By this way, you created a new instance of ViewController without webView object. --> correct your code: webView.addJavascriptInterface(self, forKey: "ios");

@kantsoft I just update project. Try it :)

It's ok to add swift code to your objectivec project.

Same here, 403 I couldn't resolve