Play/Pause now playing with MediaRemote framework

Hi, How can I pause/play the now playing song with MedaiRemote framework

Thanks!

What application or API is playing the song? If you're using applicationMusicPlayer or something similar, you can of course just use the pause() function. If it's being played in the Music app, you should be able to pause it via systemMusicPlayer.

Play/Pause now playing with MediaRemote framework
 
 
Q