No, it doesn't.
In order to get data from URL asynchronously you should use the NSURLRequest
and NSURLConnection
approach.
You will have to implement the NSURLConnectionDelegate
methods:
-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response;
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data;
-(void)connectionDidFinishLoading:(NSURLConnection *)connection;
-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error;
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…