iOS Developer Library


Foundation Framework Reference NSURLSessionDataTask Class Reference



An NSURLSessionDataTask is a concrete subclass of NSURLSessionTask. The methods in the NSURLSessionDataTask class are documented in NSURLSessionTask Class Reference.

A data task returns data directly to the app (in memory) as one or more NSData objects. When you use a data task:

For a detailed explanation of this process, read URL Session Programming Guide.