MPRemoteCommandCenter commands aren't triggered when using MPMusicPlayerController applicationMusicPlayer

Number:rdar://27853856 Date Originated:15-Aug-2016
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 10 beta 6
Classification:Serious bug Reproducible:Always
MPRemoteCommandCenter commands (e.g. playCommand, pauseCommand, etc) aren’t triggered when playing music with MPMusicPlayerController applicationMusicPlayer.

Sample project available here:

Steps to Reproduce:
1. Open the sample project and run on an iOS 10 beta 6 device that has songs in the media library.
2. Allow media library access when prompted.
3. Select “Open Player” on the device
4. Select “Play” on the device. You should hear audio playing.
5. Open the iOS Control Center by swiping from bottom of screen.
6. Attempt to pause the playing song by selecting the Control Center pause button.

Expected Results:
The playing song should pause.

Actual Results:
The song audio continues to play and the Control Center now playing info changes to an unrelated song.

This problem also seems to exist in iOS 9.

None of the MPRemoteCommandCenter commands I’ve tested are triggered when using MPMusicPlayerController applicationMusicPlayer. The sample project registers handlers for nextTrackCommand, previousTrackCommand, playCommand, and pauseCommand.

This also impacts other remote control methods beyond Control Center (e.g. headphone controls and presumably car controls, etc).


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!