Given an MPMediaItem
the user selected from MPMediaPickerController
or from MPMusicPlayerController.systemMusicPlayer.nowPlayingItem
, is it possible to find out if this song is lossless and if it supports Spatial Audio? Thanks!
Hello @Jordan,
We have updated MusicKit in iOS 16 beta 1 with a few related APIs:
- a new audioVariants property for Song;
- a new audioVariants property for Album;
- a new audioVariant property for a MusicPlayer's state.
These additions fill the gap you originally inquired about in this thread.
Most of our new efforts for Apple platform SDKs are focused on MusicKit, so we have decided not to release corresponding new APIs in the Media Player framework.
You can find more information about these new MusicKit APIs and many other in our new WWDC22 session video: Explore more content with MusicKit.
I hope this helps.
Best regards,