To show an alert when application just enter into background
<p>I just want to show an alert when user just quit the application before application entering the background, how can I do that??</p>

<p>If I show the alert in <code>applicationDidEnterBackground:(UIApplication *)application</code> method then this alert will be shown when we again resume the application, but I need to show the alert before the application enters the background.</p>
