iOS - 播放 4.0 之前的 mp3
在我的应用程序中,我使用 AVFoundation 框架(AVAudioPlayer)播放 .mp3 文件,但该框架仅存在于 4.0 或更高版本中; 4.0之前的mp3可以用什么播放?
Im my app I play .mp3 files with the AVFoundation Framework (AVAudioPlayer), but this framework only exists in 4.0 or later; what can I use to play an mp3 before 4.0?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我正在查看 Apple 的 AVAudioPlayer 文档,它在该页面的顶部写道:
我查看了我的一个较旧的(iOS 4 之前的)项目,看看我以前是如何播放声音文件的。它是 AudioToolbox 框架和 Apple 旧版 SpeakHere 示例代码。
I'm looking at Apple's documentation for AVAudioPlayer and it says at the top of that page:
I looked in one of my older (pre iOS 4) projects to see how I used to play sound files. It was a combination of the AudioToolbox framework and some files from Apple's older SpeakHere sample code.