Closed kyleshay closed 2 years ago
// set standalone preference on the WKWebView config.preferences.setValue(true, forKey: "standalone") ... // alerts true webView.evaluateJavascript("alert(window.navigator.standalone)")