以编程方式将内容添加到音乐库 [英] Programmatically add content to music library

查看:150
本文介绍了以编程方式将内容添加到音乐库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个开发的应用程序,将某些声音存储在其文档目录中。

是否可以将这些声音导出或存储到用户的iPod库?如果重要,它们是.caf格式。

解决方案

只有应用程序适用于越狱设备才有可能。在这种情况下,您可以使用我的 libipodimport 库将音乐和音频文件导入iPod媒体库。 / p>

如果应用程序是通过AppStore分发的,那么不幸的是,您仍然可以尝试使用私有API: SSDownload SSDownloadQueue SSDownloadMetadata classes( class-dumped headers here )从 StoreServices private framework enable如果您设法隐藏,可能可能会使用这些 来访问AppStore。

I have an application developed that stores certain sounds in its Documents directory.
Is it possible to export or store these sounds to user's iPod library? They are in .caf format if important.

解决方案

It is only possible if the app is for jailbroken devices. In this case, you can use my libipodimport library for importing music and audio files to the iPod media library.

If the app is distributed via the AppStore, then it's unfortunately not possible, through you can still try to use a private API: the SSDownload, SSDownloadQueue and SSDownloadMetadata classes (class-dumped headers here) from the StoreServices private framework enable it - you might be able to get through the AppStore using these if you manage to hide them, but it's highly unlikely.

这篇关于以编程方式将内容添加到音乐库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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