Returns the iPod music player, which controls the iPod app’s state.
- iOS 3.0–8.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- Media Player
The iPod music player.
The iPod music player employs the iPod app on your behalf. On instantiation, it takes on the current iPod app state and controls that state as your app runs. Specifically, the shared state includes the following:
Repeat mode (see
Shuffle mode (see
Now-playing item (see
Playback state (see
Other aspects of iPod state, such as the on-the-go playlist, are not shared. Music that is playing continues to play when your app moves to the background.