Enumeration Case

MPMediaGrouping.artist

Groups and sorts media item collections by performing artist.

Declaration

case artist = 2

See Also

Media Query Keys

case title

Groups and sorts media item collections by title. For songs, for example, the title is the song name. This is the default grouping key.

case album

Groups and sorts media item collections by album, and sorts songs within an album by track order.

case albumArtist

Groups and sorts media item collections by album artist (the primary performing artist for an album as a whole).

case composer

Groups and sorts media item collections by composer.

case genre

Groups and sorts media item collections by musical or film genre.

case playlist

Groups and sorts media item collections by playlist.

case podcastTitle

Groups and sorts media item collections by podcast title.