MPMediaQuerySection Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/MediaPlayer.framework |
| Availability | Available in iOS 4.2 and later. |
| Companion guide | |
| Declared in | MPMediaQuerySection.h |
Overview
A media query section represents a range of media items or media item collections from within an iPod library media query. You can use sections when displaying a query’s items or collections in your app’s user interface.
You obtain an array of media query sections by using the itemSections or collectionSections properties of a media query (an instance of the MPMediaQuery class). The property values of a media query section are read-only.
Properties
range
The range in the media query's items or collections array that is represented by the media query section.
@property (nonatomic, assign, readonly) NSRange range
Availability
- Available in iOS 4.2 and later.
Declared In
MPMediaQuerySection.htitle
The localized title of the media query section.
@property (nonatomic, copy, readonly) NSString *title
Availability
- Available in iOS 4.2 and later.
Declared In
MPMediaQuerySection.h© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-09-24)