I have an application in which i will have to get the data of LOADED webView,How can i get that? Let me explain it in details:
1) I have a link 'www.google.com'
2) I entered the keyword 'question' and generated a link like, https://www.google.co.in/#hl=en&sclient=psy-ab&q=%@&oq=question&gs_l=serp.3..0i10l4.90108.93059.2.93802.10.8.2.0.0.0.171.1173.0j8.8.0...0.0...1c.1.8.psy-ab.6SJ9cs6717Q&pbx=1&bav=on.2,or.r_cp.r_qf.&fp=27feaf18f129334d&biw=1901&bih=383
3) after creating request with the above URL i open up in WebView.
NSString * urlStr = [NSString stringWithFormat:@"https://www.google.co.in/#hl=en&sclient=psy-ab&q=%@&oq=question&gs_l=serp.3..0i10l4.90108.93059.2.93802.10.8.2.0.0.0.171.1173.0j8.8.0...0.0...1c.1.8.psy-ab.6SJ9cs6717Q&pbx=1&bav=on.2,or.r_cp.r_qf.&fp=27feaf18f129334d&biw=1901&bih=383"];
NSURL * gotoUrl = [NSURL URLWithString:urlStr];
NSURLRequest * requestP = [NSURLRequest requestWithURL:gotoUrl cachePolicy:NSURLCacheStorageAllowed timeoutInterval:60];
[webVw loadRequest:requestP];
4) I got some search results, loaded in webView,
5) Now i want to parse those results to get the resulted LINKS,DESCRIPTION etc....
How can i get the data loaded in WebView? please suggest proper way, I did it by Google search API's which takes the keyword and gives the response and then I parse it by general available methods. so, please suggest something different.