Programmatically Silence iPhone from App?
问题 I have to create an app in which the iPhone goes silent upon a button press event. How can you do this programatically? 回答1: There is nothing in official iOS SDK to do this. Imagine someone miss an important call because an app changed settings and made phone silent without user's knowledge. I don't want to download that application for sure. See this related question too. From Apple's documentation People, not applications, should initiate and control actions. Although an application can