This repository contains implementation of WKWebView calling methods from JavaScript, and JavaScript sending messages to WKWebView over WKScriptMessageHandler.
In order to use web view it is neccessary to enable Outgoing connections (Client) in Signing & Capabilities tab of project settings
In order to load local file it is neccessary to add file as a resource to project. In Build Phases settings of project, file needs to show up under Copy Bundle Resources.