<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/BAAssetPackManager/checkForUpdatesWithCompletionHandler:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "c:objc(cs)BAAssetPackManager(im)checkForUpdatesWithCompletionHandler:"
  },
  "title" : "checkForUpdatesWithCompletionHandler:"
}
-->

# checkForUpdatesWithCompletionHandler:

Gets the latest asset-pack information from the server, updates outdated asset packs, and removes obsolete asset packs.

```
- (void) checkForUpdatesWithCompletionHandler:(void (^)(NSSet<NSString *> *updatingIdentifiers, NSSet<NSString *> *removedIdentifiers, NSError *error)) completionHandler;
```

## Parameters

`completionHandler`

A block that receives a set of identifiers of asset packs that are being updated and a set of identifiers of removed asset packs or an error if one occurs.

---

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)