Can an iOS app switch the device to silent mode?

前端 未结 1 838
小蘑菇
小蘑菇 2020-12-07 02:47

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.

相关标签:
1条回答
  • 2020-12-07 03:03

    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.

    0 讨论(0)
提交回复
热议问题