An array of media item collections whose contained items match the query’s media property predicate.
- iOS 3.0+
- Media Player
The returned array of collections are grouped and sorted by the
grouping of the media query. The following code snippet illustrates how to use this property:
Each element of the
collections array now contains a media item collection. Each collection contains the media items from the library by a particular artist. The elements of the array are sorted by artist name.
For the available grouping types, see