How to programmatically sense the iPhone mute switch?
<p>I can't seem to find in the SDK how to programatically sense the mute button/switch on the iPhone.  When my app plays background music, it responds properly to the volume button without me having any code to follow that but, when I use the mute switch, it just keeps playing away.</p>

<p>How do I test the position of mute?</p>

<p>(NOTE: My program has its own mute switch, but I'd like the physical switch to override that.)</p>

<p>Thanks!</p>
