Contents

MPMediaPredicate

An abstract class that defines classes for filtering media in a media query.

Declaration

class MPMediaPredicate

Overview

In media queries, a predicate is a statement of a logical condition that you want to test each media item against. The system returns the media items that satisfy the condition in the query result. Use this class’s concrete subclass, described in MPMediaPropertyPredicate, to define the filter in a media query to retrieve a subset of media items from the library. For more information about media queries, see MPMediaQuery.

Topics

Initializers

See Also

Media item queries