问题
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