title: Can a WKWebView call a function in the main app and get a value back?
body: <p>I am currently writing a web page that is designed to be run inside a WKWebView on iOS, or a WebView on Android. On Android, it is possible for the WebView to call a function that executes native app code and returns a value back to the WebView. Is it possible to do the same on iOS? Can I call a native iOS function and get a value returned back from it, in one way or another?</p>