How to get the system ringtones programmatically in ios?

后端 未结 2 570
天命终不由人
天命终不由人 2021-01-15 09:37

I am newbie and now programming an alarm in ios4, and need to get the ringtones programmingly, then, the users set his favorite song for the alarm. However, failed to find s

相关标签:
2条回答
  • 2021-01-15 10:27

    There is no public API in the iOS SDK that provides read or write access to the ringtones.

    0 讨论(0)
  • 2021-01-15 10:38

    Use AudioServicesPlaySystemSound(xxxx) for using system tones in your Application

    0 讨论(0)
提交回复
热议问题