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 -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -