WKWebViewJSBridge (cocoapods): You simply need to create a class and pass an instance to the WebView through addJavascriptInterface(Object object, String name).
Keywords: html5|javascript|wkwebview