Hacker News new | ask | show | jobs
by pjscott 2571 days ago
On Apple's platforms you can get this with a background NSURLSession. It lets you express concepts like "Download this URL at a convenient time, preferably when the device is plugged in and connected to Wifi" or "Start downloading this now, but keep going even after this app is closed."

It's definitely more work to figure out than regular foreground URL fetching, though.

https://developer.apple.com/documentation/foundation/url_loa...