Preload multiple local WebViews

Question or problem in the Swift programming language: My app is separated in one native part and one HTML part. The HTML is saved as a local file (index.html) and should be load into the myWebView view. @IBOutlet weak var myWebView: UIWebView! func loadWebview() { let url = Bundle.main.url(forResource: “index”, withExtension: “html”) let request = […]

Continue Reading

webViewDidFinishLoad in WKWebView

Question or problem in the Swift programming language: I have to migrate from UIWebView to WKWebView and I’m having some trouble with this. It looks like that “WKWebView” has no member ‘request’. Is there a way to handle this situation using the WKWebView? I simply need to get the URL loaded and then if it […]

Continue Reading