Jakub Truhlář Jakub Truhlář - 1 year ago 199
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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download