I\'ve an extremely weird problem, I\'m requesting a URL and I want to get the cookies from it, I\'ve used this way to get the cookies:
- (void)connection:(NS
Did you tried following code sample, it should work:
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
{
NSArray *cookies =[[NSArray alloc]init];
cookies = [NSHTTPCookie
cookiesWithResponseHeaderFields:[response allHeaderFields]
forURL:[NSURL URLWithString:@""]]; // send to URL, return NSArray
}