Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:29:01+00:00 2026-06-06T11:29:01+00:00

In my application I am presenting a modal view controller on top of the

  • 0

In my application I am presenting a modal view controller on top of the root view controller on launch and also when resuming from the background to present a loading/summary screen. This is dismissed after a few seconds to reveal the root view controller. The modal is presented via the applicationWillEnterForeground method on the app delegate.

It’s all working fine, but when resuming from the background it’s quite common to see a flash of the lower root view controller before the loading modal is presented again.

I’m struggling to find an obvious way to do this presentation to ensure it safely appears without seeing the view underneath first. Am I missing something blindingly obvious?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:29:03+00:00Added an answer on June 6, 2026 at 11:29 am

    The documentation says the following:

    Prepare to have their picture taken. When the
    applicationDidEnterBackground: method returns, the system takes a
    picture of your app’s user interface and uses the resulting image for
    transition animations. If any views in your interface contain
    sensitive information, you should hide or modify those views before
    the applicationDidEnterBackground: method returns.

    This means you should modify the view in applicationDidEnterBackground: to have it the way you want it to appear in the picture that iOS will take automatically when an App enters the background state.

    Also keep the following in mind:

    Your app delegate’s applicationDidEnterBackground: method has
    approximately 5 seconds to finish any tasks and return. In practice,
    this method should return as quickly as possible. If the method does
    not return before time runs out, your app is killed and purged from
    memory. If you still need more time to perform tasks, call the
    beginBackgroundTaskWithExpirationHandler: method to request background
    execution time and then start any long-running tasks in a secondary
    thread. Regardless of whether you start any background tasks, the
    applicationDidEnterBackground: method must still exit within 5
    seconds.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my iPhone app, I'm presenting a modal view controller from a home screen
I have a tab bar application and when I display a modal view controller,
Has Presenting modal view controller in iOS 4.3 for iPad changed? I created a
I have a view controller (view A) presenting a modal view (B) when the
In my application, I'm presenting a modalViewController with a navigationbar on the top of
I have a navigation controller based application. There are a number of view controllers.
I'm trying to present a TabBarController on top of another TabBarController. My application's MainWindow.xib
I'm currently building an application that is presenting tabular (fetched from a webservice) data
What would be better for presenting a results table within an Android application where
Application: WPF Application consisting of a textbox on top and a listbox below Users

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.