Instance Method

init

Initializes a download task.

Declaration

- (instancetype)init;

Discussion

Don’t use this initalizer to manually create download tasks. Instead, use the factory methods on NSURLSession to add tasks to an existing URL session.

See Also

Creating Download Tasks

+ new

Creates and initializes a download task.

Deprecated