0

I am working on developing a swift app. How can I check whether a mobile is in silent mode? Is there any method to find that the phone is now silent or its volume is high? Please help me.

I searched but couldn't find any solution.

1 Answers1

1

There is no Public API for check that.

There is Mute Lib that works with work around.

https://github.com/akramhussein/Mute

Toseef Khilji
  • 17,192
  • 12
  • 80
  • 121