iOS Developer Library

Developer

Foundation Framework Reference NSURLSessionTaskDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSURLSessionTaskDelegate

The NSURLSessionTaskDelegate protocol defines the task-specific delegate methods that you should implement when working with any type of NSURLSession task.

If you are using download tasks, also implement the methods in the NSURLSessionDownloadDelegate protocol.

If you are using data or upload tasks, also implement the methods in the NSURLSessionDataDelegate protocol.