How to set music file as call tone and message ton

2019-04-03 05:16发布

问题:

I have an application. In that, i have to list of music file and "Set as ringtone" option there. I dont know how to set music file as call tone or message tone.

回答1:

Apps cannot set ringtone/message tone programmatically. That's not allowed by iOS. You might be able to save audio files so that user can access them and set them as ringtones himself.

How to add a ringtone from an application to ringtones of iphone?

Hope that helps!



回答2:

iOS SDK does not allow you to set the ringtone or message tone.