Save an XML file via UIWebView
I have an XML file on a remote server. The user must log in to access this file. Is there away to download the xml page after the user logs into a UIWebview?
Then have NSXMLParser parse the downloaded page?NSURL *pathURL = [NSURL URLWithString:@"http://se7ensins.com/forums/xml.php"];
NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:pathURL];
[parser set开发者_高级运维Delegate:self];
[parser parse];
Pass in the NSURL of the XML page that the user would go to in the UIWebView and use:
- (id)initWithContentsOfURL:(NSURL *)url
精彩评论