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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

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

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -