Class

BGAppRefreshTask

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

Declaration

class BGAppRefreshTask : BGTask

Overview

Use app refresh tasks for updating your app with small bits of information, such as the latest stock values.

Executing app refresh tasks requires setting the fetch UIBackgroundModes capability. For information on setting this capability, see BGTaskScheduler.

Relationships

Inherits From

Conforms To

See Also

Task Management

class BGProcessingTask

A time-consuming processing task that runs while the app is in the background.

class BGTask

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