Reputation: 1868
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.
Upvotes: 2
Views: 4352
Reputation: 18875
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.
Upvotes: 4
Reputation: 10182
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.
Upvotes: 3