Instance Method

requestDownload(options:completion:)

Requests a download and executes the completion block in place of the delegate.

Declaration

func requestDownload(options: [ICDownloadOption : Any]? = nil, completion: @escaping (String?, Error?) -> Void) -> Progress?

Discussion

The completion block executes on an any available queue; often this is not the main queue.