title: Insert CSS into loaded HTML in UIWebView / WKWebView
body: <p>I am successfully able to get HTML content and display into my UIWebView. </p>
  
  <p>But want to customize the content by adding an external CSS file.  I can only change the size of text and font.  I tried every possible solution to make changes but it does not work - it shows no changes. </p>
  
  <p>Below is my code</p>
  
  <pre><code>HTMLNode* body = [parser body];
  HTMLNode* mainContentNode = [body  findChildWithAttribute:@"id" matchingName:@"main_content" allowPartial:NO];
  NSString *pageContent = [NSString stringWithFormat:@"%@%@", cssString, contentHtml];
          [webView loadHTMLString:pageContent baseURL:[NSURL URLWithString:@"http://www.example.org"]];
  
  -(void)webViewDidFinishLoad:(UIWebView *)webView1{
      int fontSize = 50;
      NSString *font = [[NSString alloc] initWithFormat:@"document.getElementsByTagName('body')[0].style.webkitTextSizeAdjust= '%d%%'", fontSize];
      NSString *fontString = [[NSString alloc] initWithFormat:@"document.getElementById('body').style.fontFamily=\"helvetica\""];
  
      [webView1 stringByEvaluatingJavaScriptFromString:fontString];
      [webView1 stringByEvaluatingJavaScriptFromString:font];
  }
  </code></pre>
  
  <p>Please help me get the css stylesheet in my view.</p>