new()
Creates and initializes a download task.
Declaration
class func new() -> SelfDiscussion
Don’t use this method to manually create download tasks. Instead, use the factory methods on URLSession to add tasks to an existing URL session.
Creates and initializes a download task.
class func new() -> SelfDon’t use this method to manually create download tasks. Instead, use the factory methods on URLSession to add tasks to an existing URL session.