title: Load Local CSS File Into Xamarin IOS WebView?
body: <p>I'm able to load a local HTML file into my <code>WebView</code> like this (this works fine):</p>
  
  <pre><code>var fileName = "Views/Default.html"; 
  var localHtmlUrl = Path.Combine(NSBundle.MainBundle.BundlePath, fileName);
  var url = new NSUrl(localHtmlUrl, false);
  var request = new NSUrlRequest(url);
  WebView.LoadRequest(request);
  </code></pre>
  
  <p>I'd like to reference a CSS file (also local) in my HTML file:</p>
  
  <pre><code>&lt;link href="Content/style.css" rel="stylesheet"&gt;
  </code></pre>
  
  <p>The CSS file does exist inside of a <code>Content</code> folder, the build action is set to Content for said file.</p>
  
  <p>How can I reference/load the CSS file in question via my html file? Possible?</p>
  
  <p><strong>UPDATE</strong>: Had css and html in separate folders. Put them both in a <code>Content</code> folder then updated the hrefs which solved the issue while using <code>LoadRequest</code>.</p>