title: extract text from UIWebView
body: <p>i have a UIWebView loaded with a simple rtf file. (containing one line "THIS IS A TEST")</p>
  
  <pre><code>UIWebView* webview = [[UIWebView alloc] initWithFrame:CGRectMake(5, 50, 310, 400)];
  [[self view] addSubview:webview];
  [webview loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"test" ofType:@"rtf"]isDirectory:NO]]];
  NSString *html = [webview stringByEvaluatingJavaScriptFromString: @"all"];
  NSLog (@"html:%@", html.debugDescription);
  </code></pre>
  
  <p>The "THIS IS A TEXT" line appears inside the UIWebView correctly.
  Does anyone know if it's somehow possible to extract that line of text (or more) to an NSString or some other accessible container ?</p>
  
  <p>I know there is:</p>
  
  <pre><code>NSString *html = [webview stringByEvaluatingJavaScriptFromString: @"document.documentElement.outerHTML"];
  </code></pre>
  
  <p>but that (obviously) doesn't work here. any ideas ? I'm basically trying to (fake) convert a rtf file to an NSString on iOS. 
  Thank you!</p>