<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "AssetsLibrary",
  "identifier" : "/documentation/AssetsLibrary/ALAssetsFilter",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Assets Library"
    ],
    "preciseIdentifier" : "c:objc(cs)ALAssetsFilter"
  },
  "title" : "ALAssetsFilter"
}
-->

# ALAssetsFilter

`ALAssetsFilter` encapsulates filtering criteria to be used when retrieving assets from a group.

```
@interface ALAssetsFilter : NSObject
```

## Overview> Important:
> The Assets Library framework is deprecated as of iOS 9.0. Instead, use the Photos framework instead, which in iOS 8.0 and later provides more features and better performance for working with a user’s photo library. For more information, see `Photos`.
> 
> In the Photos framework, the <doc://com.apple.documentation/documentation/Photos/PHFetchOptions> class provides functionality for filtering requests for assets or collections.

You use filters with the `ALAssetsGroup/setAssetsFilter(_:)` method in [`ALAssetsGroup`](/documentation/AssetsLibrary/ALAssetsGroup).

## Topics

### Creating Filters

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)