Type Property

applicationMusicPlayer

Returns the application music player.

Declaration

@property(class, readonly) MPMusicPlayerController *applicationMusicPlayer;

Return Value

The application music player.

Discussion

The application music player plays music locally within your app. The music player does not affect the Music app’s state. When your app moves to the background, the music player stops playing the current media.

See Also

Getting a Music Player

applicationQueuePlayer

Returns the application queue music player.

systemMusicPlayer

Returns the system music player, which controls the Music app’s state.

iPodMusicPlayer

Returns the iPod music player, which controls the iPod app’s state.

Deprecated