ios - Preventing my app's audio from interfering with other background music -
i think i'm looking combination of existing settings can't quite put in right order. have app plays sound clips using avaudioplayer. there start/stop button.
i other apps' audio continue until app needs play something.
when app launched itunes music playing, music continues correctly. when press play in app, other audio correctly stops, , app plays. stop player, switch music app, , press play again. when switch own app, music stops immediately.
i again wait until needs play before killing music app.
my best guess once i've used player, in kind of 'i need audio' state, , remains in state. how resign state?
Comments
Post a Comment