我如何从iphone的ipod中获取歌曲到iphone sdk阵列中的应用程序? [英] how can i get songs from my iphone's ipod to my application in array in iphone sdk?

查看:92
本文介绍了我如何从iphone的ipod中获取歌曲到iphone sdk阵列中的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以存储或只创建一个自定义视图,当用户点击歌曲时,用户可以在我的应用程序中播放歌曲,而iphone的iPod(MusicPlayer)选择器不应该打开它只显示中的所有歌曲我在TableView或PickerView中的应用程序它允许用户在我创建的自定义视图中选择TableView或PickerView中的歌曲。我也见过这个例子。但它只是打开音乐播放器选择器视图。你有没有明白我的意见可以在我的申请中做到这一点。?

can i store or just create a customize view which allow user to play songs within from my application when user clicks on songs at that time the iphone's iPod(MusicPlayer) picker should not open it just show all songs in my application in TableView or PickerView it allows user to select the songs within my created customized view that TableView or PickerView.i have also seen this example. but it just opens the music player picker view. did you get my point is this possible to do that within my application.?

就像这个问题类似

我发现链接告诉使用API​​ 3.0

推荐答案

是的,Amergin是写的,这是获取列表的好方法。
另外,如果你想枚举MPMediaItem的内容,这是一个很好的方法: http://www.wptechnology.com/articles/2013/06/16/how-to-nslog-an-mpmediaitem/

Yes Amergin is write, this is the good way to get the list. Also if you want to enumerate the content of an MPMediaItem, here's a good method to do that : http://www.wptechnology.com/articles/2013/06/16/how-to-nslog-an-mpmediaitem/

这篇关于我如何从iphone的ipod中获取歌曲到iphone sdk阵列中的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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