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

# getStatusOfAssetPackWithIdentifier:completionHandler:

Gets an asset pack’s status.

```
- (void) getStatusOfAssetPackWithIdentifier:(NSString *) assetPackIdentifier completionHandler:(void (^)(BAAssetPackStatus status, NSError *error)) completionHandler;
```

## Parameters

`assetPackIdentifier`

The asset pack’s identifier.

`completionHandler`

A block that receives the asset pack’s status or an error if one occurs.

## Discussion

If no asset pack with the specified identifier is found, then the block will receive an `NSError` object with [`BAManagedErrorCodeAssetPackNotFound`](/documentation/BackgroundAssets/BAManagedErrorCode/BAManagedErrorCodeAssetPackNotFound) as its code for the `error` parameter. This method attempts to get the latest asset-pack information from the server. It doesn’t automatically trigger any downloads, updates, or removals.

---

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)