在应用程序中使用iPhone默认警报声音 [英] Using iPhone default Alarm sounds in application

查看:112
本文介绍了在应用程序中使用iPhone默认警报声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

播放提示音(与默认消息铃声相同)

Hello all,

Hello all,

快速提问 -
是否可以使用iPhone上包含的默认声音之一 - Marimba等一个iPhone应用程序?

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

谢谢,

Teja

Thanks,
Teja

推荐答案

实际目录只能在JailBreak之后访问。

The actual directories will only be accessible after JailBreak.

铃声(包括Marimba):

/Library/Ringtones/

系统声音:

/System/Library/Audio/UISounds/

或使用Black Frog提到的'AudioServicesPlaySystemSound()'。

注意:此方法是未记录并将导致AppStore拒绝。

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

下载系统声音的链接(由clusterfu_k评论):

我可以获得Iphone的默认音频文件(马林巴,闹钟,升序......)?

注意:可能侵犯版权。

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

这篇关于在应用程序中使用iPhone默认警报声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆