Instance Property


The current now-playing information for the default now playing info center.


var nowPlayingInfo: [String : Any]? { get set }


To clear the now playing info center dictionary, set it to nil.

See Also

Working with the Default Now Playing Info Center

class func `default`() -> MPNowPlayingInfoCenter

Returns the singleton now playing info center.

enum MPNowPlayingInfoMediaType

The type of media currently playing.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software