Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent Splash Screen from showing after returning from background


I've noticed something that happens in every app i develop. It's usually not a concern but in this specific app it would be great if i could "fix" it, if it's even a bug.

Steps to re-produce the issue:

  • Start app , splash screen shows for approx. 3 seconds and app starts.
  • Press home button, app goes to background.
  • Bring app back from background (double clicking home screen and chosing it), shows the splash for half a second or so, and then the app goes back up .

Is it possible to get rid of that splash screen popping up for half a second on the way back from background? Its really a problem for this specific app.

like image 713
Shai Mishali Avatar asked Nov 15 '11 21:11

Shai Mishali


People also ask

What is the difference between launch screen and splash screen?

Splash Screen is the very first screen the user sees when they open up an app on a mobile device. It's the very first chance of creating a positive impact on the users. It appears while the app is loading when the user has just opened up the app. Many times the Splash screen is called a launch screen.

How do I disable the default flutter splash screen?

Go to flutter –> open ios module on Xcode. On Xcode window, Click on Runner-> Runner -> Assets. xcassets folder. Here you can see LaunchImage paste your splash screen image with all three different dimensions in this folder.

What does splash screen on startup mean?

“Alternatively referred to as a boot screen, boot skin, or welcome screen, the splash screen is an introduction page that is displayed as a program or computer is loading or booting. Typically the splash screen can include a logo or other image, as well as a company name, and sometimes the company's slogan.”

Should my app have a splash screen?

Definitely, yes, you should create splash screen it if your app needs some time to load. If there is a delay more than 5-7 seconds, you need a splash screen undoubtedly.


1 Answers

I know that this question is marked an "answered" - but the reality is that the answer was not correct in my case and I want to share.

I initially came to the conclusion that the most accurate answer above was from QueyJoh - "this is something handled by iOS ... Short answer: it's out of your hands."

However after experimenting I managed to locate the issue as being entries in my info.plist file controlling the status bar. Specifically I had entries for "UIStatusBarHidden" and "UIStatusBarStyle".

Removing these entries from my plist file immediately stopped my app from showing the Splash screen when switching away from my app and back again.

Problem solved.

Matthew

like image 81
Matthew Delmarter Avatar answered Sep 23 '22 20:09

Matthew Delmarter