An iOS device can be used for the same purpose as the original iPod — to hold and play music, podcasts, and audiobooks. These items constitute the device’s music library. (The relevant guide in Apple’s documentation, iPod Library Access Programming Guide, preserves a more archaic name.) iOS provides the programmer with various forms of access to the device’s music library; you can:
Explore the music library.
Play an item from the music library.
Learn and control what the Music app’s music player is doing.
Present a standard interface for allowing the user to select a music library item.
These abilities are provided by the Media Player framework; you’ll need to