简体   繁体   中英

How to set music file as call tone and message tone in iphone programmatically

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不允许您设置铃声或消息铃声。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM