---
title: BGContinuedProcessingTask
framework: backgroundtasks
role: symbol
role_heading: Class
path: backgroundtasks/bgcontinuedprocessingtask
---

# BGContinuedProcessingTask

A task that starts in the foreground and can continue running in the background as needed.

## Declaration

```swift
class BGContinuedProcessingTask
```

## Mentioned in

Performing long-running tasks on iOS and iPadOS

## Overview

Overview This task works with BGContinuedProcessingTaskRequest. The system displays the progress of this task in a Live Activity and a person can cancel it through the interface if they wish. The system can terminate a continuous background task abruptly depending on run-time conditions, for example, under resource constraints. Your implementation needs to report progress using the ProgressReporting protocol that this task conforms to. The system prioritizes the termination of tasks that reflect minimal or no progress, when resources become constrained. For more information on Continuous Background Task requests, see Performing long-running tasks on iOS and iPadOS.

## Topics

### Titling the task

- [title](backgroundtasks/bgcontinuedprocessingtask/title.md)
- [subtitle](backgroundtasks/bgcontinuedprocessingtask/subtitle.md)
- [updateTitle(_:subtitle:)](backgroundtasks/bgcontinuedprocessingtask/updatetitle(_:subtitle:).md)

## Relationships

### Inherits From

- [BGTask](backgroundtasks/bgtask.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [ProgressReporting](foundation/progressreporting.md)

## See Also

### Foreground tasks with background support

- [Performing long-running tasks on iOS and iPadOS](backgroundtasks/performing-long-running-tasks-on-ios-and-ipados.md)
- [Background GPU Access](bundleresources/entitlements/com.apple.developer.background-tasks.continued-processing.gpu.md)
