---
title: "assetPackWithIdentifier:"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/baassetpackmanifest/assetpackwithidentifier:"
---

# assetPackWithIdentifier:

Returns the asset pack in this manifest with the given identifier.

## Declaration

```occ
- (BAAssetPack *) assetPackWithIdentifier:(NSString *) assetPackIdentifier;
```

## Parameters

- `assetPackIdentifier`: The asset pack’s identifier.

## Return Value

Return Value The asset pack, if it could be found in this manifest; otherwise, nil.

## See Also

### Getting asset packs

- [assetPacks](backgroundassets/baassetpackmanifest/assetpacks.md)
