PHPickerFilter doesn't always apply in Collections tab when using PHPickerViewController

Hi everyone,

I’m running into an issue with PHPickerFilter when using PHPickerViewController.

When I configure the picker with a .videos and .livePhotos filter, it seems to work correctly in the Photos tab. However, when I switch to the Collections tab, the filter doesn’t always apply — users can still see and select static image assets in certain collections (e.g. from one of the People & Pets sections).

Here’s a simplified snippet of my setup:

var configuration = PHPickerConfiguration(photoLibrary: .shared())
configuration.selectionLimit = 1

var filters = [PHPickerFilter]()
filters.append(.videos)
filters.append(.livePhotos)

configuration.filter = PHPickerFilter.any(of: filters)
configuration.preferredAssetRepresentationMode = .current

let picker = PHPickerViewController(configuration: configuration)
picker.delegate = self
present(picker, animated: true)

Expected behavior: The picker should consistently respect the filter across both Photos and Collections tabs, only showing assets that match the filter.

Actual behavior: The filter seems to apply correctly in the Photos tab, but in the Collections tab, other asset types are still visible/selectable.

Has anyone else encountered this behavior? Is this expected or a known issue, or am I missing something in the configuration?

Thanks in advance!

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

PHPickerFilter doesn't always apply in Collections tab when using PHPickerViewController
 
 
Q