Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: iOS 应用程序可以将设备切换到静音模式吗?
我是 iPhone 应用程序开发的新手,我想将我的 iPhone 静音模式设置为铃声和提示音。 这是可能的,因为我在应用程序“ AutoSilent ”中看到了
对此没有公共 API,因为它会影响应用程序沙箱之外的东西。
据报道,某些版本的 iOS 存在错误,如果您的应用以某些方式播放声音,这可能会阻止一些警报音。