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

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

Change the color of an oval at click in Java AWT -