---
title: shared
framework: backgroundassets
role: symbol
role_heading: Type Property
path: backgroundassets/badownloadmanager/shared
---

# shared

The download manager that both the app and the extension share.

## Declaration

```swift
class var shared: BADownloadManager { get }
```

## Discussion

Discussion Because the download manager is a shared resource, use the withExclusiveControl(_:) or withExclusiveControl(beforeDate:perform:) methods to acquire exclusive control of the manager before you use it to access, schedule, or cancel downloads.
