Post

Replies

Boosts

Views

Activity

Comment on Completion handler blocks are not supported in background sessions
@DTS Engineer I know this is an old thread but the problem persists in Xcode 16 and the whole point of the video is that the same background session is used in await withTaskCancellationHandler. From the transcript: This code is not making the underlying network request twice as we're using the same URLSession to back both, and URLSession will deduplicate any in-process requests under the hood. What is the correct way to perform background syncing with a cloud service?
Sep ’24
Comment on onScrollPhaseChange doesn't get called when using List
Thanks @berzerker, but for me it still only fires once on app launch
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25
Comment on Completion handler blocks are not supported in background sessions
@DTS Engineer I know this is an old thread but the problem persists in Xcode 16 and the whole point of the video is that the same background session is used in await withTaskCancellationHandler. From the transcript: This code is not making the underlying network request twice as we're using the same URLSession to back both, and URLSession will deduplicate any in-process requests under the hood. What is the correct way to perform background syncing with a cloud service?
Replies
Boosts
Views
Activity
Sep ’24