Request the system to launch your app in the background to run tasks.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Use the BackgroundTasks framework to keep your app content up to date and run tasks requiring minutes to complete while your app is in the background. Longer tasks can optionally require a powered device and network connectivity.
Register launch handlers for tasks when the app launches and schedule them as required. The system will launch your app in the background and execute the tasks.