<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHPickerFilter-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "s:8PhotosUI14PHPickerFilterV"
  },
  "title" : "PHPickerFilter"
}
-->

# PHPickerFilter

A type that defines the filter to apply to the photo library.

```
struct PHPickerFilter
```

## Topics

### Creating Filters

[`playbackStyle(_:)`](/documentation/PhotosUI/PHPickerFilter-swift.struct/playbackStyle(_:))

Creates a new filter by using the playback style you specify.

[`all(of:)`](/documentation/PhotosUI/PHPickerFilter-swift.struct/all(of:))

Creates a new filter that includes only the filters you specify.

[`not(_:)`](/documentation/PhotosUI/PHPickerFilter-swift.struct/not(_:))

Creates a new filter that excludes the filter you specify.

### Getting Filter Types

[`bursts`](/documentation/PhotosUI/PHPickerFilter-swift.struct/bursts)

A filter that represents assets with multiple high-speed photos.

[`cinematicVideos`](/documentation/PhotosUI/PHPickerFilter-swift.struct/cinematicVideos)

A filter that represents videos with a shallow depth of field and focus transitions.

[`depthEffectPhotos`](/documentation/PhotosUI/PHPickerFilter-swift.struct/depthEffectPhotos)

A filter that represents photos with depth information.

[`images`](/documentation/PhotosUI/PHPickerFilter-swift.struct/images)

The filter for images.

[`livePhotos`](/documentation/PhotosUI/PHPickerFilter-swift.struct/livePhotos)

The filter for live photos.

[`panoramas`](/documentation/PhotosUI/PHPickerFilter-swift.struct/panoramas)

A filter that represents panorama photos.

[`screenRecordings`](/documentation/PhotosUI/PHPickerFilter-swift.struct/screenRecordings)

A filter that represents screen recordings.

[`screenshots`](/documentation/PhotosUI/PHPickerFilter-swift.struct/screenshots)

A filter that represents screenshots.

[`slomoVideos`](/documentation/PhotosUI/PHPickerFilter-swift.struct/slomoVideos)

A filter that represents slow-motion videos.

[`timelapseVideos`](/documentation/PhotosUI/PHPickerFilter-swift.struct/timelapseVideos)

A filter that represents time-lapse videos.

[`videos`](/documentation/PhotosUI/PHPickerFilter-swift.struct/videos)

The filter for videos.

[`any(of:)`](/documentation/PhotosUI/PHPickerFilter-swift.struct/any(of:))

Returns a new filter formed by OR-ing the filters in a given array.



---

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)