MPRemoteCommandCenter
An object that responds to remote control events sent by external accessories and system controls.
Declaration
class MPRemoteCommandCenterMentioned in
Overview
Don’t create instances of this class yourself. Instead, use the shared() method to retrieve the shared command center object. The properties of the shared command center object contain MPRemoteCommand objects that respond to the various kinds of remote control events. You configure these objects to respond to the events you’re interested to handle in your app.
Topics
Retrieving the shared instance
Playback commands
Navigating between tracks
Navigating a track’s contents
changePlaybackRateCommandseekBackwardCommandseekForwardCommandskipBackwardCommandskipForwardCommandchangePlaybackPositionCommand