I would like to stop my application playing a sound if the user has switched the iPhone to silent mode. Where can I read that the phone is in silent mode? Is there some flag I can query? I noticed that some applications ignore the silent mode and some not, while I would have expected all apps to respect that silent is silent !!
Any hints or input would be greatly appreciated.
Thanks
Al
You need to set the appropriate Audio Session Category.
For more detail see – Configuring the Audio Session