Contents

init(identifier:request:applicationGroupIdentifier:)

Creates a download that uses the specified identifier and App Group.

Declaration

convenience init(identifier: String, request: URLRequest, applicationGroupIdentifier: String)

Parameters

  • identifier:

    An app-specific string that uniquely identifies the downloadable asset.

  • request:

    A URL request that provides request-specific information, such as URL, request type, and body data.

  • applicationGroupIdentifier:

    The identifier of the App Group where the system stores finished downloads. For more information about App Groups, see Configuring App Groups.

Discussion

The system requires that all URL requests use Hypertext Transfer Protocol Secure (HTTPS). The priority of the created download is default.

See Also

Creating a download