Some semi-private events are sent to all running applications, which is why iTunes previously started when you tried to pause Spotify. There is no nice (or even official?) way of detecting and handling the media keys on the user’s keyboard in Cocoa. App Remote SDK and the Application Lifecycle.Authorization Scopes Authorization Scopes.