ios - Pausing users background music -


in app developing, if music playing when app starts, allow continue. within app itself, fine , working, however, if interstitial ad shown, common sense , best practice dictate should pause background music in case interstitial has music of own. ideally restart music when interstitial dismissed. possible?

there class mpmusic​player​controller handles music app functions.it has class methods system​music​player() may in achieving it. problem third party app. suppose music being played via third party app. in case won't able access method , in case of interrupt ,like said, paused.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -