Trevor Whittingham 3/26/2026

Keep a User-Started Export Alive with BGContinuedProcessingTask

Read Original

This article covers the new BGContinuedProcessingTask API introduced in iOS 26, designed for visible, user-initiated background work such as exporting videos, rendering PDFs, or processing photos. It contrasts this API with older tools like BGProcessingTask and UIApplication.beginBackgroundTask, emphasizing that BGContinuedProcessingTask is for work that starts from a user action and needs to continue if the app moves to the background. The article provides practical guidance on selecting appropriate tasks, creating unique task identifiers, configuring Info.plist with wildcard identifiers, and submitting requests from the foreground. It includes a SwiftUI example for rendering a project into a movie file and then uploading via background URLSession. The post also notes API availability (iOS 26 only) and recommends testing on device.

Keep a User-Started Export Alive with BGContinuedProcessingTask

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet