title: Can not load local html file in WKWebView Swift 4
body: <p>I used this code before - everything worked</p>
  
  <pre><code>let localfilePath = Bundle.main.url(forResource: "nameFile", withExtension: "html")
  let myRequest = NSURLRequest(url: localfilePath!)
  
  WebView.loadRequest(myRequest as URLRequest)
  self.view.addSubview(WebView)
  </code></pre>
  
  <p>Help please - now I use <code>WKWebView</code>.</p>
  
  <p>How to open a local html file in the <code>WKWebView</code>? Thank you</p>