A request to launch your app in the background to execute a processing task that can take minutes to complete.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- Background
Tasks
Declaration
class BGProcessingTaskRequest : BGTask Request
A request to launch your app in the background to execute a processing task that can take minutes to complete.
SDKs
Framework
class BGProcessingTaskRequest : BGTask Request
init(identifier: String)
Return a new processing task request for the specified identifier.
var requires External Power: Bool
A Boolean specifying if the processing task requires a device connected to power.
var requires Network Connectivity: Bool
A Boolean specifying if the processing task requires network connectivity.
class BGApp Refresh Task Request
A request to launch your app in the background to execute a short refresh task.
class BGTask Request
An abstract class for representing task requests.