title: UIWebview loadHTMLString does not want to show
body: <p>To fix the UITextview blue color issue for links in ios ( i want white ones) i implemented the UIWebview in my custom popup</p>
  
  <p>in my popup controller i have the following code ( uiwebview is set to hidden in xib)</p>
  
  <pre><code>- (void) showWebView:(NSString *)htmlText{
      [webView setHidden:FALSE];
      [txtContent setHidden:TRUE];
  
      NSString * htmlString = [NSString stringWithFormat:@"&lt;html&gt;&lt;head&gt;&lt;style type='text/css'&gt;body {background-color:transparent; } p { color:white; font-family:Helvetica; font-size:14px; } a { color:white; }&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;%@&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;", htmlText];
      webView.delegate = self;
  
      NSLog(@"htmlstring  %@",htmlString);
     [webView loadHTMLString:htmlString baseURL:nil];
  
  }
  </code></pre>
  
  <p>(txtContent is my uiTextview which i'm hiding)</p>
  
  <p>in my main controller i have the following:</p>
  
  <pre><code>SwbPopup * popup =  [[SwbPopup alloc] initWithNibName:@"SwbPopup" bundle:nil];
  
  [[self.view superview] addSubview:popup.view];
  popup.view.center = CGPointMake([self.view superview ].center.y, [self.view superview].center.x - ([self.view superview].frame.size.width / 4) );
  
  
  [popup showWebView:popupBloodglucoseLevel];
  </code></pre>
  
  <p>(popbloodglucoselevel is a string containing my popupmessage with a link)</p>
  
  <p>When i don't hide webview in the xib it does show (everytime) but don't want to load the html either....</p>
  
  <p><strong>UPDATE</strong>
  i implemented all below delegate methods and none of them get called:s</p>
  
  <pre><code>    - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
  {   
      //[myActivityIndicatorView stopAnimating];
  
      NSLog(@"ERROR");
      NSLog([NSString stringWithFormat: @"%d", [error code]]);
  }
  
  - (void)webViewDidStartLoad:(UIWebView *)webView{
      NSLog(@"Started loading");
  }
  
  - (void)webViewDidFinishLoad:(UIWebView *)webView{
      NSLog(@"Finished loading");
  
  }
  </code></pre>