Task Cancelled
Asked on 2025-10-11
1 search
It seems like your question is off-topic. However, I can provide information about how Apple handles task cancellation in their systems, as discussed in the WWDC sessions.
In the session titled "Finish tasks in the background" from WWDC 2025, Apple emphasizes the importance of user control over tasks. Users can cancel tasks at any time, which is crucial for maintaining a good user experience. Tasks should always start with an explicit action from the user, such as a button tap or gesture, to ensure that users understand the task's goal and progress. Automatic tasks, like maintenance backups, should be avoided as they might lead to unexpected cancellations. For more details, you can refer to the session Finish tasks in the background.
If you have any specific questions about the content presented at WWDC, feel free to ask!

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.

Consume noncopyable types in Swift
Get started with noncopyable types in Swift. Discover what copying means in Swift, when you might want to use a noncopyable type, and how value ownership lets you state your intentions clearly.

Code-along: Elevate an app with Swift concurrency
Learn how to optimize your app’s user experience with Swift concurrency as we update an existing sample app. We’ll start with a main-actor app, then gradually introduce asynchronous code as we need to. We’ll use tasks to optimize code running on the main actor, and discover how to parallelize code by offloading work to the background. We’ll explore what data-race safety provides, and work through interpreting and fixing data-race safety errors. Finally, we’ll show how you can make the most out of structured concurrency in the context of an app.