Aprove answer

Please search stackoverflow or the web for similar questions before posting a new one, this question has already been covered:

Play sound on iPhone even in silent mode

iphone, how to play sound even in silent or mute mode?

Be careful about overriding the silent mode switch and playing audio. Apple may not like you doing this, depending on the context; if they don't like it, you will fail app review. Is there a good reason to play audio when in silent mode in the context of your app?


Here’s what I have done that works great!

Set all your contacts Emergency By Pass OFF! Then decide who should break through by turning the Emergency By Pass ON to those important calls you simply can’t miss; Family members like Mom and Dad.

Now your all set to use he Silent switch.

Credit Goes to: stackoverflow.com

Related question with same questions but different answers