iOS应用可以将设备切换到静音模式吗? [英] Can an iOS app switch the device to silent mode?

查看:256
本文介绍了iOS应用可以将设备切换到静音模式吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式将我的应用运行的设备设置为静音模式?沉默必须包含整个设备,而不仅仅是我的应用程序。

Is there a way to programmatically set the device my app is running on to silent mode? The silence must encompass the entire device, not just my application.

推荐答案

没有。由于它是一个物理硬件开关,没有软件方法可以使整个设备静音。

No. As it's a physical hardware switch, there's no software method for muting the entire device.

没有理由对抗框架,只要让用户静音设备就可以了拜托。

No reason to fight the framework, just let the user mute the device if he/she pleases.

这篇关于iOS应用可以将设备切换到静音模式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆