[英]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.
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? 如何将应用程序中的铃声添加到iPhone的铃声中?
Hope that helps! 希望有帮助!
iOS SDK不允许您设置铃声或消息铃声。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.