---
title: PHPickerFilter
framework: photosui
role: symbol
role_heading: Structure
path: photosui/phpickerfilter-swift.struct
---

# PHPickerFilter

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

## Declaration

```swift
struct PHPickerFilter
```

## Topics

### Creating Filters

- [playbackStyle(_:)](photosui/phpickerfilter-swift.struct/playbackstyle(_:).md)
- [all(of:)](photosui/phpickerfilter-swift.struct/all(of:).md)
- [not(_:)](photosui/phpickerfilter-swift.struct/not(_:).md)

### Getting Filter Types

- [bursts](photosui/phpickerfilter-swift.struct/bursts.md)
- [cinematicVideos](photosui/phpickerfilter-swift.struct/cinematicvideos.md)
- [depthEffectPhotos](photosui/phpickerfilter-swift.struct/deptheffectphotos.md)
- [images](photosui/phpickerfilter-swift.struct/images.md)
- [livePhotos](photosui/phpickerfilter-swift.struct/livephotos.md)
- [panoramas](photosui/phpickerfilter-swift.struct/panoramas.md)
- [screenRecordings](photosui/phpickerfilter-swift.struct/screenrecordings.md)
- [screenshots](photosui/phpickerfilter-swift.struct/screenshots.md)
- [slomoVideos](photosui/phpickerfilter-swift.struct/slomovideos.md)
- [timelapseVideos](photosui/phpickerfilter-swift.struct/timelapsevideos.md)
- [videos](photosui/phpickerfilter-swift.struct/videos.md)
- [any(of:)](photosui/phpickerfilter-swift.struct/any(of:).md)

### Type Properties

- [spatialMedia](photosui/phpickerfilter-swift.struct/spatialmedia.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Photos picker for UIKit, AppKit

- [Selecting Photos and Videos in iOS](photokit/selecting-photos-and-videos-in-ios.md)
- [PHPickerViewController](photosui/phpickerviewcontroller.md)
- [PHPickerViewControllerDelegate](photosui/phpickerviewcontrollerdelegate-5yntc.md)
- [PHPickerConfiguration](photosui/phpickerconfiguration-swift.struct.md)
- [PHPickerResult](photosui/phpickerresult-swift.struct.md)
