简体   繁体   中英

iPhone: Programmatically store audio as ring tone

I am working on an iPhone application, where i need to store an audio file(which i get from my server) as a ringtone on the iPhone device programmatically. Is it possible to do that? What are the APIs supported for it. And, Does the Appstore allow such apps to be released?

Thanks.

No, you can't do this. There's no public API for this.

If you're doing this on a jailbroken device, you can just replace one of the default Apple ringtones with your ringtone.

Most probably the user will have to do it himself. You can ease-up a bit this process for him using iTunes file sharing. See:

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

You could also check the code of ringtonesapp .

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