关于 MPMusicPlayerController 以及 AVAudioPlayer 是否可以在 iPhoneSimulator 中工作?
来自 (iPhone) 我可以使用调度程序进行 AudioServicesPlaySystemSound 循环吗?
MPMusicPlayerController 不起作用,因为它与 iPod 音乐库有关,并且我无法向其中添加音乐文件,因为我正在玩 iPhone 游戏并且不与外部 iPod 库交互。
AVAudioPlayer 可以在 iPhoneSimulator 中使用吗?
From (iPhone) Can I do AudioServicesPlaySystemSound Looping with scheduler?
MPMusicPlayerController doesn't work because it is about iPod music library and I can't add a music file to it since I'm doing an iPhone game and not interacting with the outside iPod library.
Does AVAudioPlayer works in iPhoneSimulator?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看以下代码,它是一个简单的 AVAudioPlayer 示例,并且它也可以在 iPhone 模拟器上运行。
AVAudioPlayer *audioPlayer;
Check out following code its a simple AVAudioPlayer example and its work on iPhone simulator too ..
AVAudioPlayer *audioPlayer;