Enumeration Case

MPMediaGrouping.album

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

Declaration

case album = 1

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 artist

Groups and sorts media item collections by performing artist.

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.