Manos Chorianopoulos

minor fix

No preview for this file type
...@@ -27,7 +27,7 @@ import WebKit ...@@ -27,7 +27,7 @@ import WebKit
27 webview.configuration.userContentController.add(self, name: "Cosmote") 27 webview.configuration.userContentController.add(self, name: "Cosmote")
28 } 28 }
29 29
30 - func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) { 30 + public func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
31 print("=== event callback ===") 31 print("=== event callback ===")
32 print(message.name, message.body) 32 print(message.name, message.body)
33 print("=== event callback ===") 33 print("=== event callback ===")
......