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

有帮助吗?

解决方案

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!

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top