https://itunes.apple.com/us/playlist/adele-essentials/pl.efaeab71d9cd4e079d9d1097c3b6b525
420075084 1051394215 420075185 1051394219 420075145 1051394224 1399800382 1051394813 420075085 1399799920 1051394223 1399800385 420075087 1051394227
同样来自劳伦戴格尔精华,我可以播放大多数歌曲,但不是所有的,这是奇怪的!
https://itunes.apple.com/au/playlist/lauren-daigle-essentials/pl.5972a5b59f294312a1c0365a88eefe28
他们都是从美国商店,我在澳大利亚,我有音乐订阅。
我需要使用MPMusiclayercontroller.applicationMusicPlayer应用程序从苹果音乐商店播放歌曲
我想找一个和MusicKit一起工作的大四学生来给我点启发。非常感谢。
appleMusicPlayer = MPMusicPlayerController.applicationMusicPlayer() appleMusicPlayer?.setQueue(["420075084"]) appleMusicPlayer?.prepareToPlay()
这适用于Swift 4 iOS 12和Xcode 10.1(10B61)