Instance Property

items

An array of media items that match the media query’s predicate.

Declaration

@property(nonatomic, readonly) NSArray<MPMediaItem *> *items;

Discussion

If no items match the predicate, this method returns an empty array. On error, returns nil.

See Also

Performing Media Queries

collections

An array of media item collections whose contained items match the query’s media property predicate.