iOS-以编程方式获取当前正在播放的项目的队列 [英] iOS - get programmatically queue of items currently playing

查看:179
本文介绍了iOS-以编程方式获取当前正在播放的项目的队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以编程方式使当前在本机Music App中播放的队列排队.我可以使用 MPMusicPlayerController 来获取当前正在播放的项目,但我不仅要获取该项目,还希望获得整个播放队列.是否可以使用 AVFoundation 或任何其他库来做到这一点?

I want to get programmatically queue currently played in native Music App. I can use MPMusicPlayerController to get currently playing item but I want to get not only the item but whole playing queue. Is it possible to do it using AVFoundation or any other library?

推荐答案

恐怕这是不可能的. Apple不允许我们从任何库访问此信息.

I'm afraid this is not possible. Apple does not give us access to this information from any libraries.

这篇关于iOS-以编程方式获取当前正在播放的项目的队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆