UIWebview contents as NSString from HTML

Posted by Yoon Lee on Stack Overflow See other posts from Stack Overflow or by Yoon Lee
Published on 2010-05-04T00:29:07Z Indexed on 2010/05/04 0:38 UTC
Read the original article Hit count: 302

Filed under:

I'm trying to reading part of HTML source code from website that has been encapsulated by javascript;basically i'm trying to read email which appears in webview but not in real source code using NSString method of 'NSString stringWithContentsOfURL:(NSURL *)url'. it looks like code showing up before hitting up the inner java script (which executes and shows the email address to show). are there any way i can get into NSString the contents that I viewed over UIWebview? I tried to use the method 'webView stringByEvaluatingJavaScriptFromString' it worked for only displaying through webview browser didn't return any string value.

Are there anyway I can get the string?

© Stack Overflow or respective owner

Related posts about iphone