访问苹果的iOS铃声并显示 [英] Access apple's iOS ringtones and display them

查看:44
本文介绍了访问苹果的iOS铃声并显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个带有消息传递系统的应用程序.我想让用户从Apple提供的铃声中设置自己的铃声,或使用iPod库中的铃声.

I'm working on an app which has a messaging system in it. I want to the user to setup their own ringtone from the ones provided by Apple, or use something in the iPod library.

发现的所有答案都表明Apple不允许我们访问这些铃声,但是有很多应用程序,包括Whatsapp,它为您显示Apple铃声列表,供用户设置短信铃声.

All of the answers am finding are saying Apple doesn't allow us to access these ringtones, but there are plenty of apps, including Whatsapp, which shows you a list for Apple's ringtones for the user to set a text message tone.

如何获取这些铃声,以便将其添加到 UITableView ?我了解它们在模拟器中不可用,但在我的iPhone中可用,因此我可以随时在设备上测试该功能.

How can I get these ringtones so I can add them to a UITableView? I understand that they are not available in the simulator, but they are in my iPhone, so I could always test that feature on a device.

推荐答案

您无法获取已安装铃声的列表.Whatsapp在其资源文件中捆绑了铃声,然后列出了捆绑包中可用的铃声,

You can't get the list of installed ringtones. Whatsapp is bundling the tones in their resource file, then listing the tones that are available in their bundle,

这篇关于访问苹果的iOS铃声并显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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