Asynchronous NSURLConnection on separate thread fails to call delegate methods
问题 I am running a NSURLConnection on a separate thread (I am aware that it is asynchronous and works when running on the main thread), but it is not making delegate calls even when I pass the parent thread as the delegate. Does anyone know how to do this? Code: -(void)startConnectionWithUrlPath:(NSString*)URLpath { //initiates the download connection - setup NSURL *myURL = [[NSURL alloc] initWithString:URLpath]; myURLRequest = [NSMutableURLRequest requestWithURL:myURL cachePolicy