Playing (non library) Apple Music content - request fails

前端 未结 1 407
挽巷
挽巷 2021-02-06 05:31

I\'m trying to play an album, using the following code…

let predicate = MPMediaPropertyPredicate(value: "1459938538", forProperty: MPMediaItemPropertyAl         


        
1条回答
  •  [愿得一人]
    2021-02-06 06:07

    MPMediaQuery is only for Library items. You would need to use the web Apple Music search API to get store IDs to use in setting the queue.

    0 讨论(0)
提交回复
热议问题