The quality-of-service class for maintenance or cleanup tasks that you create.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 6.0.1+
Framework
- Dispatch
Declaration
case background
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.