title: Change screen when iOS app is brought to foreground
body: <p>I have an iOS app (written in Objective-C) which, when running in the background, will perform a background task to detect if you are moving greater than 5mph. If this has occurred (travelled > 5mph), a specific screen (screen123) is displayed when the app is brought to the foreground.</p>
  
  <p>This currently works but when the app is brought to the foreground you briefly see the last screen that had been viewed from the previous use of the app (for about 1 second) before screen123 is displayed. Is there any way to have the app running in the background and when it is brought to the foreground to display screen123 immediately (without the previous screen displaying)?</p>
  
  <p>The code that causes screen123 to be displayed is within <code>applicationWillEnterForeground</code> in AppDelegate.</p>