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 7443999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:25:21+00:00 2026-05-29T11:25:21+00:00

I have a root view controller that opens up a new modal view controller.

  • 0

I have a root view controller that opens up a new modal view controller. When the app goes to the background I dismiss the top view but when the app opens up again, there is a split second that I see the view I just have dismissed and then the root view displays.

How can I prevent the top view from showing up when the app becomes active again.

I have tried to dismiss the top view on all the stages I could think on the app delegate (applicationWillResignActive, applicationDidEnterBackground, applicationWillEnterForeground, applicationDidBecomeActive) as well on viewWillDisappear on the top view itself without success. The view does dismiss but I can see it for a split second when the app becomes active.

Can someone help me to show the root view all the time when the application becomes active? I don’t want to do anything with the launch image, that is working fine. I just don’t want the app to show other views but the root view after launching/ becoming active. If that is not possible then can I show an image till the root view controller is ready to be displayed?

Thanks.

  • 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-05-29T11:25:22+00:00Added an answer on May 29, 2026 at 11:25 am

    At the end of applicationDidEnterBackground, the OS will take a picture of your UI. Apple tell us this in the documentation:

    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.

    But I bet you are dismissing your modal view controller animated in that, so when it takes the picture it will be taking the picture just as the view is being animated away. You could try dismissing it not animated. It might then mean that during the transition to the background the user sees the root view controller, but I think you’re just going to have to live with one of those options unfortunately.

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

Sidebar

Related Questions

I have an Action Sheet that is called from my root view controller using
I have several types os root view controller that I want to instantiate one
I created a navigation controller based app. The view that opens up below the
My app's root view controller supports any orientation but user can navigate to another
I have a root view controller with no nib file, I tried adding this
I have used Split view controller in which root view as well detail view
I have a UINavigationController with a root view controller and then I push a
I have a UINavigationController with a UIViewController (vc1) as the root view controller. There
I have standard view controller acting as the delegate for a modal view controller
I have a view controller that is called from 2 different places. 1) I

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.