I'm wondering what my app should do in applicationWillResignActive(). When the user presses the home button to quit my app, iOS automatically fades out my app's audio. This is a nice thing; I like it and I'd like to keep this behaviour.
However, when the user holds the home button to open Siri and then returns to my app, the audio is gone. This lets me believe that I probably have to stop all audio playback in applicationWillResignActive() and resume my audio playback in applicationDidBecomeActive(). Is that right? If it is, then there is another problem: If I always stop all audio playback in applicationWillResignActive(), then I won't be able to keep the nice audio fade out feature when the user quits the app (see above) because applicationWillResignActive() is also called when the user quits the app. This all leaves me wondering what I should really do in willResignActive(). I'd like to have the audio fade out when the user quits the app but I also need the app to play audio again after returning from Siri. So how can I achieve that? -- Best regards, Andreas Falkenhahn mailto:[email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
