0

I'm trying to display the currently playing audio from my app in the watches Now Playing app.

I'm streaming the audio using the AVPlayer and set the AVAudioSession category and activated the session.

I've also tried to use the MPNowPlayingInfoCenter without any luck.

Is there another way to provide this information.

leoMehlig
  • 300
  • 2
  • 10

2 Answers2

2

And just as I hit post I figured it out!

You also have to setup the MPRemoteCommandCenter. ‍♂️

Leaving this here for future reference.

leoMehlig
  • 300
  • 2
  • 10
  • Thank you thank you thank you - been struggling with this for a few days now ... – skaak Sep 17 '20 at 15:34
  • May I ask what did you set up with MPRemoteCommandCenter ? The watch seems to show the titles I send it but not the artwork for some reason. Any thoughts ? – Shawn Frank Jun 10 '21 at 14:40
0

Please show some code for reference, but MvNowPlayingInfoCentre should work fine. Take a look at this for more information: https://stackoverflow.com/a/41686834/12149235

yosh
  • 178
  • 15