title: Edit and Load HTML from local file in Swift
body: <p>I have a .html file stored in my project bundle. When I load it in WebView.(UIWebview/WKWebview) the data is loaded but the table structure in it isn't visible. The table borders, columns , rows. The values are just floating . In Chrome browser it opens properly. </p>
  
  <pre><code>let myURL = Bundle.main.url(forResource: "prescription", withExtension: "html")
      let myURLRequest:URLRequest = URLRequest(url: myURL!)
      webView.loadRequest(myURLRequest)
  </code></pre>
  
  <p><strong>Chrome browser</strong> : 
  <a href="https://i.stack.imgur.com/j3KcJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j3KcJ.png" alt="This is how it looks in browser"></a></p>
  
  <p><strong>iOS App UIWebView :</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/nmwuj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nmwuj.png" alt="This is how it looks in UIWebview"></a></p>
  
  <p>The Html page is made responsive to fit in any sizes but I am not able to load in UIWebview properly as Web.
  I need to store the file locally because I need to make changes to its values and show on webview.</p>