访问iPod音乐文件夹 [英] Access iPod music folder

查看:111
本文介绍了访问iPod音乐文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在iPhone上访问ipod文件夹,以便在用户选择的应用程式音乐中播放?



感谢。


如果你看一下,你可以使用MPMediaLibrary和MPMediaPickerController来获得这个功能。苹果iPhone开发中心,你应该能够找到AddMusic示例代码看看这是如何工作的。



还有更多的信息在MediaPlayer.framework文档中Xcode。


Is it possible on the iPhone to access ipod folder in order to play in my app music that user chooses?

Thanks.

解决方案

Sure, you can use the MPMediaLibrary and MPMediaPickerController to get this functionality.

If you look on the Apple iPhone Dev Center, you should be able to find the AddMusic example code to see how this works.

Also there is plenty more information in the MediaPlayer.framework documentation in Xcode.

这篇关于访问iPod音乐文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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