Tell about background api
Asked on 06/16/2025
2 searches
The session titled "Finish tasks in the background" from WWDC 2025 provides a comprehensive overview of background APIs that allow apps to perform tasks even when they are not in the foreground. Here are some key points from the session:
-
Background Task APIs: These APIs enable apps to continue running tasks that are crucial and should not be interrupted when transitioning to the background. This is particularly useful for tasks like saving state, cleaning up file handles, or closing database connections.
-
BG Processing Task API: This API allows apps to perform various types of work in the background, such as running machine learning models or handling database maintenance. It requires registering background tasks immediately during app launch to ensure the system is aware of them.
-
BG Continue Processing Task: This task supports continued processing even after the app is backgrounded, with the system providing UI to communicate progress. It is useful for user-initiated operations that need to complete reliably.
-
System Prioritization: The system prioritizes foreground tasks, but it intelligently boosts task priority when the app returns to the foreground. This ensures a smooth and responsive experience.
-
Background GPU Access: On supported devices, background tasks can benefit from GPU access, which requires adding the background GPU capability in Xcode project settings.
For more detailed information, you can refer to the session Finish tasks in the background (07:29) which covers background task APIs.

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.

Level up your games
Learn how to make your games shine on the unified gaming platform. We’ll give you a map of the technologies you can use to level up your game and further improve your player experience. Get an overview of the fundamental tools essential to build, debug, and profile your game.

Discover Apple-Hosted Background Assets
Building on Background Assets, this session will introduce the new capability to download asset packs of content for games and other applications. Learn how Apple can host these asset packs for you or how to manage self-hosting options. We’ll delve into the native API integration and the corresponding App Store implementations, providing you with the tools to enhance your app’s content delivery and user experience.