2
A
回答
2
我认为这是由音频会话完成:
// before instantiating the playback audio queue object,
// set the audio session category
UInt32 sessionCategory = kAudioSessionCategory_MediaPlayback;
AudioSessionSetProperty (
kAudioSessionProperty_AudioCategory,
sizeof (sessionCategory),
&sessionCategory
);
// activate the audio session immmediately before playback starts
AudioSessionSetActive (true);
相关问题
- 1. iOS 7背景音频,AudioSession
- 2. iOS 7背景音频
- 3. iOS中的背景音频
- 4. iOS/Android背景音频流
- 5. 在iOS的背景音频记录器
- 6. 截取iOS上的背景音频流
- 7. iOS背景音频链接器错误
- 8. iOs SDK。共享音频会话,同时播放背景音频
- 9. iOS 10视频标签“autoplay muted playsinline”停止背景音乐(spotify)
- 10. MPMoviePlayerViewController和背景音频
- 11. Xcode UIWebview背景音频
- 12. AVCaptureSession取消背景音频
- 13. 背景音频录制
- 14. 音频的背景位置
- 15. iPhone中的背景音频
- 16. 背景音频与cocoalibspotify
- 17. AVPlayer&背景音频流
- 18. MediaElement停止背景音频
- 19. iOS视频应用程序的背景音频
- 20. IOS背景音乐控制
- 21. 的iOS流背景音响
- 22. 音频反馈在前景和背景
- 23. ios上的html5视频背景视频
- 24. 在iOS上的html中嵌入背景音频
- 25. 在iOS背景应用程序中捕获(音频)流
- 26. iOS 4:用于背景音频的遥控器
- 27. 屏幕锁定时iOS背景音频会停止
- 28. iOS 7:音频不在背景中播放
- 29. AVPlayer从iOS的7背景通知播放音频
- 30. 暂停背景中的所有音频 - iOS调整
正如我上面提到的,我已经做了所有这些步骤,苹果公司说,你应该做的。它有效,但没有图标!那就是问题所在。 – 2010-12-25 22:54:30
你看过https://devforums.apple.com/message/302745吗? – catlan 2010-12-26 19:48:25
做到了! – 2010-12-26 20:00:10