Instance Property

itemSections

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

Declaration

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

Discussion

This property consists of an array of MPMediaQuerySection instances. The value of this property may be nil if there’s no appropriate section grouping of the media items.

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.

collectionSections

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

MPMediaGrouping

Keys used to configure a media query.