---
title: background
framework: dispatch
role: symbol
role_heading: Type Property
path: dispatch/dispatchqos/background
---

# background

The quality-of-service class for maintenance or cleanup tasks that you create.

## Declaration

```swift
static let background: DispatchQoS
```

## Discussion

Discussion Background tasks have the lowest priority of all tasks. Assign this class to tasks or dispatch queues that you use to perform work while your app is running in the background.

## See Also

### Getting the Predefined QoS Objects

- [userInteractive](dispatch/dispatchqos/userinteractive.md)
- [userInitiated](dispatch/dispatchqos/userinitiated.md)
- [default](dispatch/dispatchqos/default.md)
- [utility](dispatch/dispatchqos/utility.md)
- [unspecified](dispatch/dispatchqos/unspecified.md)
