i need connect to url for receive information login. for example check user and pass
NSURLConnection and NSURLRequest are what you want. I use these to download the source code for web pages which I then parse.
NSURLConnection and NSURLRequest are what you want. I use these to download the source code for web pages which I then parse.
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
if (navigationType == UIWebViewNavigationTypeLinkClicked) {
// do something with request.URL
return NO;
}
return YES;
}
Question...what are you using to parse the webpages you are downloading? I've been looking all over for an html parser. Is one needed for this? Or are you just writing your own parse code?
I ask because I'm trying to find a nice and effective way to grab certain bits and pieces out of a page.
Thanks!