Sunday, November 17, 2019
- Advertisement -
Speed up your site performance today, Free site transfer, same renewal price
Home Background Apple iOS Background Tasks

Apple iOS Background Tasks

12
0


Request the system to launch your app in the background to run tasks.

SDKs

  • iOS 13.0+Beta
  • UIKit for Mac 13.0+Beta
  • tvOS 13.0+Beta

Overview

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.

Topics

Essentials

classBGTaskScheduler

A class for registering launch handlers that are run by submitting task requests to launch your app in the background.

Task Management

classBGAppRefreshTask

An object representing a short task typically used to refresh content that’s run while the app is in the background.

classBGTask

An abstract class representing a task that’s run while the app is in the background.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple’s beta software

Read More

LEAVE A REPLY

Please enter your comment!
Please enter your name here