How can an application set a ringtone on an iPhone?
This feature is not currently supported by the API, as it can be used to set a ringtone to something that the user was not going to install. If you want this to be added, the best thing to do is send an Apple feature request.