How can I programmatically determine the default ringtone on an iPhone?

落花浮王杯 提交于 2019-12-19 22:23:48

问题


Is there a way to determine which ringtone has been set as the default one on the user's iPhone from within my application?

If so, how can this be done?

/Users/nikhil.dhamsania/Library/Application Support/iPhone Simulator/User/Media/iTunes_Control/iTunes/ringtones.plist

This is the path where the ringtones.plist file exist in the simulator can we do something like getting the status for active ringtone in the iPhone?


回答1:


Sorry to say that but Apple is damn conservative.You cannot use or change the ringtones available programmatically.




回答2:


I think its not possible in iphone... you are not allowed to access that..



来源:https://stackoverflow.com/questions/5949692/how-can-i-programmatically-determine-the-default-ringtone-on-an-iphone

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