Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)download: (NSURLDownload *)download didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge
- {
- NSURLCredential *newCredential = [NSURLCredential credentialWithUser:@"user" password:@"pass" persistence:NSURLCredentialPersistenceNone];
- [[challenge sender] useCredential:newCredential forAuthenticationChallenge:challenge];
- }
Add Comment
Please, Sign In to add comment