title: Swift - Apply local css to web view
body: <p>I'm loading a html page in a web view and I want to apply a local css file.
  I'm receiving the html in a string from a server and the css will be in my app. For example here I want to display "Hello!" in red.    </p>
  
  <pre><code>self.articleView = UIWebView(frame : CGRect(x : self.articleButton.frame.minX, y : self.articleButton.frame.maxY + 1, width : self.frame.width - 20, height: self.frame.height - self.articleButton.frame.maxY - 10));
  self.articleView.backgroundColor = UIColor.clearColor();
  self.addSubview(self.articleView);
  self.articleView.loadHTMLString("&lt;html&gt;&lt;body&gt;&lt;h1&gt;Hello!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;", baseURL: nil)
  </code></pre>
  
  <p>Do you know how to apply the css ?
  Should I try with a WKWebView ?</p>
  
  <p>Thanks in advance.</p>