Report question

Question: How to get silent switch status in iOS5