applicationMusicPlayer
Returns the application music player.
Declaration
class var applicationMusicPlayer: MPMusicPlayerController { get }Return Value
The application music player.
Discussion
The application music player plays music locally within your app. The music player doesn’t affect the Music app’s state. When your app moves to the background, the music player stops playing the current media.