NSURLRequest *req = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://google.com"]];
NSURLConnection * connect = [[NSURLConnection alloc] initWithRequest:req delegate:self];
[connect start];
這是同步還是異步? NSURLConnection默認是1?nsurlconnection默認是什麼?同步還是異步?
我如何在主線程上觸發nsurlconnection? 而我該如何做到背景? – MainakChoudhury 2015-04-09 08:26:14