ios - is applicationWillResignActive the earliest indicator we get that an app is becoming inactive? -


- (void)applicationwillresignactive:(uiapplication *)application {     //pause avplayer if music playing } 

however upon pressing home button music doesn't stop until ios has returned home screen (after app-closing animation). i'm wondering if there's way make music stop sooner this, before ios app-closing animation.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -