开发者

Using iPhone default Alarm sounds in application [duplicate]

开发者 https://www.devze.com 2023-02-24 00:28 出处:网络
This question already has an answer here: 开发者_C百科Closed 11 years ago. Possible Duplicate: Play alert sound (same as default message ringtone)
This question already has an answer here: 开发者_C百科 Closed 11 years ago.

Possible Duplicate:

Play alert sound (same as default message ringtone)

Hello all,

Quick question - Is it possible to use one of the default sounds included on the iPhone - Marimba etc. in an iPhone application?

Thanks,

Teja


The actual directories will only be accessible after JailBreak.

Ringtones (including Marimba):

/Library/Ringtones/

System sounds:

/System/Library/Audio/UISounds/

Or use 'AudioServicesPlaySystemSound()' like mentioned by Black Frog.
Note: This method is undocumented and will cause AppStore rejection.

Download link for system sounds (comment by clusterfu_k):
Can I get default audio files of Iphone (marimba, alarm, ascending,...)?
Note: Possible copyright infringement.

0

精彩评论

暂无评论...
验证码 换一张
取 消