简体   繁体   English

在iOS 8中替换MPMusicPlayerController iPodMusicPlayer

[英]Replacement for MPMusicPlayerController iPodMusicPlayer in iOS 8

I'm looking to play music in the background, and also handle iTunes Match content. 我希望在后台播放音乐,并且还可以处理iTunes Match内容。 The iPodMusicPlayer of MPMusicPlayerController handles both, but is deprecated in iOS 8. Anyone know what APIs or frameworks they are looking for us to move to to handle both of my requirements? MPMusicPlayerController的iPodMusicPlayer可以同时处理这两者,但在iOS 8中已弃用。有人知道他们正在寻找我们要用来满足我的两个要求的API或框架吗?

You can use [MPMusicPlayerController systemMusicPlayer] instead. 您可以改用[MPMusicPlayerController systemMusicPlayer] See here for more detail : https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS80APIDiffs/index.html 请参阅此处以获取更多详细信息: https : //developer.apple.com/library/prerelease/ios/releasenotes/General/iOS80APIDiffs/index.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM