WKExtensionDelegate handleRemoteNowPlayingActivity not being called

I am struggling with a

WKExtensionDelegate
and for some reason the delegates
handleRemoteNowPlayingActivity
is not being called.


My IOS application does play Audio and I have added a

WKInterfaceNowPlaying
aka `
Now Playing View`
to the story board.


Yet when I activate Audio to be played via the IOS application using a player as such..


MPMusicPlayerController *player = [MPMusicPlayerController systemMusicPlayer];


The default `

Now playing`
application is launched.


I am expecting that my Watch app would be launched.


The deployment target for the "app" and the "extension" is set to 5.0.


Please assist.

Wayne.

Replies

I have the same question.

Can anybody help ?

My watch app is launched but handleRemoteNowPlayingActivity() in WKExtensionDelegate is not being called, so I cannot configure the app. Has anyone solved it?