An abstract class that defines classes for filtering media in a media query.
- iOS 3.0+
- Mac Catalyst 13.0+
- Media Player
In media queries, a predicate is a statement of a logical condition that you want to test each media item against. Media items that satisfy the condition are returned in the query result. Use this class’s concrete subclass, described in
MPMedia, to define the filter in a media query to retrieve a subset of media items from the library. Media queries are described in