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
Post a Comment