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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -