<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundTasks",
  "identifier" : "/documentation/BackgroundTasks/BGAppRefreshTask",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Background Tasks"
    ],
    "preciseIdentifier" : "c:objc(cs)BGAppRefreshTask"
  },
  "title" : "BGAppRefreshTask"
}
-->

# BGAppRefreshTask

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

```
class BGAppRefreshTask
```

## 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` <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/UIBackgroundModes> capability. For information on setting this capability, see [`BGTaskScheduler`](/documentation/BackgroundTasks/BGTaskScheduler).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
