A playable collection of related media items.
- iOS 3.0+
- Mac Catalyst 13.0+
- Media Player
Each playlist has a name, a set of attributes, and a unique identifier that persists across application launches.
Users configure playlists using iTunes or by creating a playlist on the device. To your iOS application, playlists are read-only. To obtain playlists, configure a media query that is grouped by playlist. Each returned media item collection is a media playlist. The following code snippet illustrates this by logging playlist and song names to the Xcode debugger console: