Xamarin.iOS & # 8594; Is there any event to listen when the user switches from ringer / silence to iPhone?

I would like to know when the user switches from silence / ring. Is there an event that I can listen in the ViewController to detect when this silence / ring property changes?

Thank,

+4
source share
1 answer

There is no public API that you can listen to when this silent button receives changes. Apple responded to a request like this:

We have never provided a method for detecting hardware mute and do not intend to do this.

+1
source

Source: https://habr.com/ru/post/1652216/


All Articles