<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "AssetsLibrary",
  "identifier" : "/documentation/AssetsLibrary/ALAssetsLibraryGroupResultBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Assets Library"
    ],
    "preciseIdentifier" : "c:@T@ALAssetsLibraryGroupResultBlock"
  },
  "title" : "ALAssetsLibraryGroupResultBlock"
}
-->

# ALAssetsLibraryGroupResultBlock

Signature for the block executed if the user grants access to the caller to access the data managed by the framework..

```
typedef void (^)(ALAssetsGroup *) ALAssetsLibraryGroupResultBlock;
```

## Discussion

The block parameter is defined as follows:

- group: The group that was added to the assets library.

If the group is not found or not created (for example, because of a name collision), `group` is `nil`.

This block type is used by `ALAssetsLibrary/addAssetsGroupAlbum(withName:resultBlock:failureBlock:)` and `ALAssetsLibrary/group(for:resultBlock:failureBlock:)`.

---

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)