title: Mute/Silence an iOS device programmatically?
body: <p>I'm trying to mute the device's ringer from within my app, but for some reason using AVSystemController like in this answer ( <a href="https://stackoverflow.com/questions/6284402/how-to-disable-ios-system-sounds">How to disable iOS System Sounds</a> ) won't let me silence the device ALL the way down.. it drops it to a volume of 1 bar, but not completely silent.</p>
  
  <p>I know it can be done, probably with a private API like AVSystemController, and I know that Apple will still approve the app if the user expects this kind of functionality from the app (since there are already 2 apps I found <em>in the App Store</em> which mutes the device programmatically with no need of jailbreaking or anything like that).</p>
  
  <p>Those apps actually do something better - they actually toggle the actual mute, not just decreasing the volume to zero.</p>
  
  <p>Does anyone know the way this is being done?</p>
  
  <p>Any help will be greatly appreciated! Thanks!</p>