---
title: "init(identifier:request:applicationGroupIdentifier:)"
framework: backgroundassets
role: symbol
role_heading: Initializer
path: "backgroundassets/baurldownload/init(identifier:request:applicationgroupidentifier:)"
---

# init(identifier:request:applicationGroupIdentifier:)

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

## Declaration

```swift
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 doc://com.apple.documentation/documentation/Xcode/configuring-app-groups.

## Discussion

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

- [init(identifier:request:essential:fileSize:applicationGroupIdentifier:priority:)](backgroundassets/baurldownload/init(identifier:request:essential:filesize:applicationgroupidentifier:priority:).md)
- [init(identifier:request:fileSize:applicationGroupIdentifier:)](backgroundassets/baurldownload/init(identifier:request:filesize:applicationgroupidentifier:).md)
- [init(identifier:request:applicationGroupIdentifier:priority:)](backgroundassets/baurldownload/init(identifier:request:applicationgroupidentifier:priority:).md)
