4 ms·
How is this different from beginBackgroundTask? https://developer.apple.com/documentation/uikit/app_and_scenes/preparing_your_ui_to_run_in_the_background/extend
by kartickv 7y ago
How is this different from beginBackgroundTask? https://developer.apple.com/documentation/uikit/app_and_scenes/preparing_your_ui_to_run_in_the_background/extending_your_app_s_background_execution_time https://developer.apple.com/documentation/uikit/app_and_scen...
- eridius 7y agoThat API lets you say "don't suspend me yet, give me some time to finish my work before I go to sleep", but it's tied directly to an active session; once the app suspends, it doesn't wake up again until the user revisits it. The new background task API is "wake me up in the background at some point when the device is idle, so I can do some utility work, such as training my CoreML model with recent data".
- kartickv 7y agoThanks.