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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -