A shared content manager used to control interactions between your media app and system-provided or external media player interfaces.
- iOS 7.1+
- Mac Catalyst 13.0+
- Media Player
The app provides data to the content manager so that the media player can browse the content provided. A delegate provides the media player the ability to perform actions that manage the app’s playback queue.
You don’t create a new content manager directly, instead you grab the shared content manager using the
shared method. After getting the shared content manager, your next step depends on the features your app supports:
To provide content navigation and suggested content for CarPlay, immediately set both the
delegateproperties. After setting these properties, use the
endmethods to load the information from the data source.
To provide suggested content when the user connects headphones, a Bluetooth stereo, or another output device, set only the
delegateproperty. After you set a delegate, iOS automatically calls methods in the
MPPlayableprotocol allowing you to suggest appropriate content.