ios - 在 XCode 中添加声音时应该使用哪种格式?

标签 ios iphone xcode swift audio

我看过一些使用“.wav”格式的教程。但我想知道我的应用程序是否可以使用除 wav 之外的其他格式。 谢谢。

最佳答案

您可以使用多种音频格式,您可以选择以下任何一种:

mp3, ima4, aif, lbc, m4a, caf

The audio data must be in a format supported by Core Audio. For a list of supported formats, see Using Audio in Multimedia Programming Guide.

关于ios - 在 XCode 中添加声音时应该使用哪种格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32281323/

相关文章:

iphone - 无法获取Google Analytics(分析)API来在iPhone上注册页面浏览量

ios - 自定义来电屏幕,如 Truecaller IOS

ios - iPhone 5、6、6 plus 的 UIlabel 字体大小问题

ios - UITableView中的UISwitch出现奇怪的显示问题

ios - 添加 "Login With Facebook"或其他自定义按钮到 UIAlertController 或 UIAlertView

ios - viewWillAppear 上的标签大小不正确

iphone - 如何绘制带阴影但不旋转阴影的旋转 UIView

Xcode:工作副本有未提交的更改

ios - 在后台录制 IOS 模拟器视频和模拟器音频

javascript - 在 UrbanAirship 中为 Phonegap getIncoming