Access apple's iOS ringtones and display them [duplicate]

非 Y 不嫁゛ 提交于 2019-12-24 09:26:26

问题


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.

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.

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.


回答1:


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,



来源:https://stackoverflow.com/questions/20065933/access-apples-ios-ringtones-and-display-them

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!