MediaPlayer framework and sandboxed macOS app

Hey,

starting macOS 10.12.2 there is the MediaPlayer framework for macOS.

With MPRemoteCommandCenter you can receive actions for multimedia keys, headphones etc. (https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter?language=objc).

Unfortunately, events from these actions aren't received by a sandboxed app. Is there any magical entitlement to support it?

Replies

10.14 is Not working neither.


I alse used sandbox app(Yes, appstore app) but not worked at all.


Is there MPRemoteCommandCenter example or tutorial on macOS?


I hope apple should support this issue!


Thanks.