Jakub Truhlář Jakub Truhlář - 9 months ago 127
Objective-C Question

MPNowPlayingInfoCenter remote controls react wrongly in iOS 10

In iOS 10, the control center UI was reworked and since this time, play/pause control buttons react differently.

Content that is not pausable should not change play/pause buttons in control center on every tap.

Before iOS 10, it was probably checking

and if a content was not paused, it did not change remote controls. In iOS 10, it changes everytime instantly ignoring


Ok, the key is to work with MPRemoteCommandCenter instead of remoteControlReceivedWithEvent.