title: Show splash screen when application enters background
body: <p>I am writing an application using phonegap for iOS. I am trying to show splash screen when application enters to background. </p>
  
  <p><code>(void)applicationWillResignActive:(UIApplication *)application</code> [...]</p>
  
  <p>In  <code>applicationWillResignActive:</code> I am calling a JavaScript function and using cordova's method <code>cordova.exec(null,null, "SplashScreen, "show", [])</code> to show splash screen. But it seems like, this is not working. </p>
  
  <p>When I resume the app, the application brings the previous state first and then switches to splash screen, but I want to show the splash screen when the app resumes. How can I accomplish that?</p>