NSURLSessionDataTask Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/Foundation.framework
Availability
Available in iOS 7.0 and later.
Declared in
Foundation/NSURLSession.h

Overview

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 Loading System Programming Guide.