开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜