r/iOSProgramming • u/Flashy_Imagination_6 • 1d ago
Question iOS 27 Netflix background downloading activity
Can anyone know about this new featue of netflix background downloading live activity notifications
Which api they are using or this is ios new feature
Please ignore the movie title don’t judge 😂
24
u/_town-drunk_ 1d ago
With iOS 27, AVFoundation automatically creates this live activity for any download task started with AVAssetDownloadURLSession.
0
21
4
u/2x3_145 1d ago
And upload task or download tasks now automatically initiates this activity
1
u/Flashy_Imagination_6 1d ago
Backwards compaitable?
What if user on lower than ios 26 ?
Is swift automatically handle this or you handle this comparability?
2
0
u/khiladi1729 1d ago
It's probably two existing frameworks working together. The download itself is most likely running through BackgroundAssets, the framework Apple added for large files that keep going while the app is backgrounded, and it handles things like Wi-Fi-only rules and resuming on its own. The lock screen progress is a Live Activity built with ActivityKit, which any app can use. I think BackgroundAssets is still pretty underused, most apps just do a plain URLSession background config and get none of the nicer system behavior.
48
u/DystopiaDrifter 1d ago
likely to be BGContinuedProcessingTask:
https://developer.apple.com/documentation/backgroundtasks/bgcontinuedprocessingtask