Instance Property

collectionSections

An array representing the section grouping of the query's specified media item collections.

Declaration

@property(nonatomic, readonly) NSArray<MPMediaQuerySection *> *collectionSections;

Discussion

The value of this property may be nil if there is no appropriate section grouping of the media item collections.

See Also

Configuring Media Queries

filterPredicates

The media property predicates of the media query.

- addFilterPredicate:

Adds a media property predicate to a query.

- removeFilterPredicate:

Removes a filter predicate from a query.

groupingType

The grouping for collections retrieved with the media query.

itemSections

An array representing the section grouping of the query's specified media items.

MPMediaGrouping

Keys used to configure a media query.