Contents

genres()

Creates a media query that matches all media items and that groups and sorts collections by genre name.

Declaration

class func genres() -> MPMediaQuery

Return Value

A media query that matches all media items and that has a grouping type of MPMediaGrouping.genre.

See Also

Creating media queries