Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vineesh

macrumors newbie
Original poster
Jan 22, 2012
9
0
Cochin
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 ?
 
I solved my issue. Thanks for all to spent time for me.

Code:
-(void)connection:(NSURLConnection*)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
{
    NSURLCredential *myCreds=[[NSURLCredential alloc] initWithUser:@"bigbirdapiuser" password:@"JQi5aPjge7me" persistence:NO];
    [challenge.sender useCredential:myCreds forAuthenticationChallenge:challenge];
}
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.