iphone - How to detect ringer switch state in iOS? -


i configured audio session kaudiosessioncategory_ambientsound app plays music avaudioplayer. problem app plays effects openal. want music play (also in background) openal sound effects if mute switch not muted.

there no documented way of doing it, can try this project. open source project claims can detect if mute switch state changes.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -