Type Method


Indicates if a media property key can be used to construct a media property predicate.


+ (BOOL)canFilterByProperty:(NSString *)property;



The key for the media property that you want to examine.

Return Value

YES if the property you are testing can be used to construct a media property predicate (of type MPMediaPropertyPredicate); otherwise, NO.


The media property keys you can use with this property are listed in this document and in General Media Item Property Keys, Podcast Item Property Keys, Playlist Property Keys, and User-Defined Property Keys.

See Also

Working with Media Properties

- enumerateValuesForProperties:usingBlock:

Executes a provided block with the fetched values for the given item properties.


The persistent identifier for a media entity.

- objectForKeyedSubscript:

Returns the object specified by the key.

- valueForProperty:

Retrieves the value for a specified media property key.


Defines the type for storing a persistent identifier to a particular entity.