How do I make my launch images for iPhone use the user's status bar? - ios

I tried removing the status bar from my Default.png images, but under iOS 6 apps seemingly load with that blue-tinted bar, and since my app uses a black one it doesn't work.
For example, the Facebook app on cold launch has a launch image which uses the user's status bar.

The app will not use the status bar from the launch image. In fact, for the iPad launch image, you have to crop out the status bar. For the iPhone launch images, XCode automatically crops them for you.
Set the tint of the status bar during launch in your project summary settings.

Related

App supports only LIGHT MODE but status bar not consistent when device goes to dark mode

Everything working fine on LIGHT MODE
But when device goes to dark mode status bar suddenly change to UIStatusBarStyleLightContent but need is always stay for UIStatusBarStyleDarkContent
this issue only happen when app comes from to background to foreground.
did all the setting and apply code on applicationDidEnterBackground and applicationDidBecomeActive as well but not working.
Code written in both REACT NATIVE and objetive-C
kindly reply if any one have i idea what could be issue
This is the issue with iOS 15 where:
Launch screen in an initial scene to decide the global property like status bar what to be on next of screens if you don't have any setting inside the app
Step to resolve the issue
Set the status bar style to Dark Content in info.plist
Delete the existing Launch Screen and create a fresh Launch Screen with your requirement
Set the newly created Launch Screen into Launch Screen File inside general section
clean the app and build is ... issue has been resolved now either app is running on DARK MODE or LIGHT MODE

iOS Launch Image Confusion

I've read every post about launch images and I'm still confused about the status bar. I understand that iPad launch images should exclude the status bar and iPhone launch images should INclude the status bar. I can see that iPad image sizes have the size of the status bar knocked off, so that is no problem.
However, I included the status bar on my iPhone launch images, but when the app launches the actual device status bar appears to bleed through as though the status bar on my image as the launch image fades, which looks lousy.
My question is whether it would be acceptable to have the iPhone images be the correct size but to not actually SHOW the status bar in the image (i.e., in my case, it would just be plain white)?
This would create a better looking launch image in my case but I'm unclear on what Apple is wanting here. Thx.
EDIT:
Apparently, all launch images are now required to include the status bar, including the iPad. I suppose this changed with XCode5.
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html
This has been a problem ever since iOS 7 introduced the see-through status bar.
You will have to write some code that creates a special initial interface of your app, so that it hides the status bar on launch and you can take the screen shot. (This seems, indeed, to be the strategy you are proposing.)
Either that or, as is sometimes possible, take the screen shot and then cover the status bar in Photoshop or similar with a rectangle of the correct color.
The problem is solved, or close to it, in Xcode 6, where you can make a launch image from Interface Builder directly based on the Preview of your interface that it provides. Since the launch image is usually a very rudimentary version of the interface, and since Xcode 6 lets you draw the preview details with prepareForInterfaceBuilder, it is usually possible to create a good launch image without bothering to write an alternate launch routine just to get the screen shot.
It's quite easy: Include the status bar region, but don't include the actual content of the statusbar. So for example the iPhone 5 launch image would be 640 x 1136 pixels.
If you have a non-solid statusbar background color you should use something like SDScreenshotCapture to take screenshots. This class creates a screenshot without the status bar content.

iOS launch image status bar showing over system status bar

I'm having an issue where it seems the status bar in my launch image is simply getting shown over the system status bar rather than getting cropped out. This results in a nasty jumbled look while the app launches (see below).
It's even worse on an actual device as the Carrier and battery icon are also overlaid.
This is the same issue as iOS Default.png status bar not drawn over; however, Xcode won't let me apply a launch image with the status bar cropped out as it's too small.
My images are all the correct size. I created them by saving screenshots from the iOS simulator. I wouldn't mind hiding the status bar during launch but this just shows the static status bar from the launch image.
Any ideas?
Thanks!
You shouldn't replicate the status bar in your launch image, I assume you are using a simulator screenshot as your launch screen.
To overcome that, open that screenshot in a photo editing app (as PhotoShop), and hide the status bar with a layer having its background color.
I FOUD THE SOLUTION ! Just add the source "http://repo.hackyouriphone.org" and then install the package "statusbarfix2" next you make a respring and everythings is good! it worked on 4, 4s, 5 and 5s :)

Show status bar in splash screen in iOS 7

Is it possible to simulate iOS 6 status bar during application launch time (splash screen) in iOS 7? Basically I need to shift down the splash screen in iOS 7 on application launch time so the status bar is on the black background.
I found a solution. You can specify different launch images for iOS 7 that have black line of 40 pixels height at the top (simulating the status bar). To do that, there are 2 possibilities:
1) Using Xcode inside General settings of your app. Specify different launch screens for iOS 7 by specifying "Retina" and "Retina 4-inch" images.
2) Using plist. Set UILaunchImages.
From UI Transition Guide:
In iOS 7, an app can use a different launch image depending on which
version of iOS it’s running in. To provide different launch images,
add the UILaunchImages key to the Info.plist file and use a dictionary
to describe each launch image.More information here.

Launch Image Display Irregularities iOS5 / iOS6

I am testing my launch images, I depend on the positioning and aspect ratios of my launch images to be correct and consistent, because I perform some animations after the launch image disappears. I am getting inconsistent positioning / aspect ratios for the launch image. See results here:
http://imgur.com/a/TnZVH
First image is running on (iOS5), the second (iOS6).
Any ideas?
iOS5 shows the splash image SHRINKED to the space left below the status bar while
iOS6 shows the splash image OVERLAYED with the status bar.
Does your App show a status bar at all?
If it does not:
Verify you disabled it correctly in the .plist file and remove it from your splash image.
If it does:
Just remove it from the splash image. Your logo will be shrinked a bit on iOS5, but if you are lucky you can do your animation OS version dependenly to hide that issue.

Resources