开发者

Access iPhone User Songs and Videos?

I was wondering if I can access user's songs and videos in iPhone, part of that access if I can save them or modify them? hopefully not a Jailbroken iPhone开发者_开发百科s

I am greatly appreciated.


Yes, you can. I can't speak for video, because I've only done it for audio, but you can definitely get audio data. These links should get you started. Note: I am as yet unsure if this works with tracks that use any kind of iTunes-related DRM.

First of all, this blog post talks you through the method of accessing the data. Note the reliance on iOS 4.1 or above.

This SO question/answer explains how to get at the raw pcm data, should you want to do more than just save it out.


You can allow the user to pick songs using the MPMediaPickerController class. I think you can save the selected item to your app's sandbox directory.

You can read up on this a bit more with this SO question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜