would BGProcessingTask when launched, will create AppDelegate obejct ?

Asked on 2025-08-25

1 search

When a BGProcessingTask is launched, it does not automatically create an AppDelegate object. The BGProcessingTask API is designed to allow apps to perform background tasks without needing to launch the full app interface. Instead, you register background tasks immediately during the app launch, and the system invokes the task's handler when the task is launched in the background. This process does not involve creating an AppDelegate object specifically for the task.

For more details on how to use the BGProcessingTask API, you can refer to the session Finish tasks in the background.

Finish tasks in the background

Finish tasks in the background

Discover background execution advancements and understand how the system schedules runtime. We’ll discuss how to get the most out of background runtime to allow your app to deliver features in the background while maintaining a great foreground experience. We’ll also cover how APIs provide background runtime for your app, and how each API is tailored for different use cases — including new APIs in iOS and iPadOS 26 that let your app finish tasks as your app transitions from the foreground to the background.

Make your UIKit app more flexible

Make your UIKit app more flexible

Find out how your UIKit app can become more flexible on iPhone, iPad, Mac, and Apple Vision Pro by using scenes and container view controllers. Learn to unlock your app’s full potential by transitioning from an app-centric to a scene-based lifecycle, including enhanced window resizing and improved multitasking. Explore enhancements to UISplitViewController, such as interactive column resizing and first-class support for inspector columns. And make your views and controls more adaptive by adopting new layout APIs.

Embracing Swift concurrency

Embracing Swift concurrency

Join us to learn the core Swift concurrency concepts. Concurrency helps you improve app responsiveness and performance, and Swift is designed to make asynchronous and concurrent code easier to write correctly. We’ll cover the steps you need to take an app through from single-threaded to concurrent. We’ll also help you determine how and when to make the best use of Swift concurrency features – whether it’s making your code more asynchronous, moving it to the background, or sharing data across concurrent tasks.