<!--
{
  "availability" : [
    "*: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/BackgroundTask/appRefresh",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14BackgroundTaskV10appRefreshACySSSgytGvpZ"
  },
  "title" : "appRefresh"
}
-->

# appRefresh

A task that updates your app’s state in the background.

```
static var appRefresh: BackgroundTask<String?, Void> { get }
```

---

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)