Is it possible to programmatically disable the iPhone?

I saw methods to make sure that the application belongs to the disconnected switch, but is it possible to disconnect iPhone sound (without sound from any applications) using the SDK?

+6
iphone volume
source share
5 answers

Not.

Applications developed using the official SDK cannot change (and in most cases cannot even access) system-wide settings.

+11
source share

It is possible, but only using private APIs. I just got to the point that I turned off the call, but you can also control the level of skill.

See How to disable iOS sound systems.

+7
source share

Technically, you can change the system volume through the private AVSystemController class in Celestial.framework, but will not allow your application to get Apple approval

+4
source share

As soon as one application can work at a time, the only possible use I can come up with for this is to disable applications for other users, and it should be clear enough why Apple is preventing this.

What should I do if the application disconnected the iPhone, and I did not know that this happened? He cannot physically move the mute switch on the side of the phone so that it does not fit, and I would have to find out a) that the phone is disconnected and b) how to turn it on without the switch.

+2
source share

I can change the volume using the AVSystemController, it sets the minimum value to 0.06x. Is there a class / API to completely disable it? toggleActiveCategoryMuted not working

+2
source share

All Articles