...
-(void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
{
NSURLCredential *credential = [NSURLCredential credentialWithUser:self.userName
password:self.userPassword
persistence:NSURLCredentialPersistenceForSession] ;
[[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
NSLog(@"Getting Authentication Challenges");
}
아니 내가 발견 한 곳 확인 (그것이 누구에게 감사를!)하지만,이 나를 위해 일합니다. 하지만 모든 정직에서 나는 비누 요청을 사용하지 않고 연결 라이브러리를 고소하지 않을 것입니다 ....
희망이 도움이되었습니다.
NSURLCredential에 입력 한 후 암호가 암호화되어 전송됩니까? – surlac
나는 그것이 연결에 의해 요구 될 때 그것을 생각한다. ... (그러나 나는 이것도 잘 배운다. ...) – ArQangel