watchkitavaudiosessionwatchos-6

Populating the "Now Playing" screen on watchOS 6


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.


Solution

  • And just as I hit post I figured it out!

    You also have to setup the MPRemoteCommandCenter. 🤦‍♂️

    Leaving this here for future reference.