This package lets you check the state of the iPhone mute switch button. Simply drag MuteSwitchDetector prefab into your scene and you are ready to listen for events when the user decides to turn it on or off. Plugin doesn’t use any private Apple API so you can submit to the AppStore.
Asset store: [LINK]
Documentation: [LINK]