Media Player Framework 是否需要管理音频会话?

Does Media Player Framework need audio sessions to be managed?

我想在我的 iOS 7+ 应用程序中包含一个简单的媒体播放器,并且我发现了一些涉及 Media Player FrameworkMPMusicPlayerController 的帖子,并且我认为可以满足我的需求。但是,我在Apple的文档中找不到相关文档,而是发现iOS apps中有几个与管理音频相关的框架。

我查看了 iOS Human Interface Guidelines 中的 Core Audio Overview 和 "Sound" 部分,我需要澄清一下在使用 Media Player Framework.

提前致谢

我终于在Audio Session Programming Guide中找到了答案:

If your app is using a movie player only, or a music player only—and you are not playing your own sounds—then you should not configure an audio session.