View Full Version : xml file with Authentication, how to parse
Aug 9, 2012, 03:12 AM
I have a XML url with username and password.
How Authenticate this url and Parse ?
How to use the parsed file stored in to database, SQLite ?
Aug 13, 2012, 07:41 AM
I solved my issue. Thanks for all to spent time for me.
-(void)connection:(NSURLConnection*)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
NSURLCredential *myCreds=[[NSURLCredential alloc] initWithUser:@"bigbirdapiuser" password:@"JQi5aPjge7me" persistence:NO];
[challenge.sender useCredential:myCreds forAuthenticationChallenge:challenge];