Web to native code communication on iOS using WKScriptMessageHandler
Did you know that it is possible to call Swift code from the JavaScript code of a web page displayed inside a WKWebView?

Sooner or later every mobile developer in the world had the following specific need: integrate a website page inside an app. Usually the integration to be developed requires a deep integration between web and native: the app…