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.
Related
Main question:
This may be a simpleton question but I noticed on the lock screen the iOS status bar is bigger than the usual 20 points. Even when I turn location setting off and close all apps. the iOS lock screens status bar is bigger when compared to the iOS status bar when my iPhone is in an un-locked state. Why is that?
Second kinda related to the first question:
also when I open grabTaxi found here the status bar is bigger than usual. Please download the app to see what I am talking about. you can't really tell by just looking at the screen shots.
Did the grab taxi developers decide to make their status bar bigger than the default?
Is it because grabTaxi is using some cross platform language, resulting in a bigger status bar?
Do apple make the status bar bigger on the lock screen simply because its easier to see?
I figured it out, apps that don't have a launch screen file, will have a bigger status bar. more detail here
How to enable native resolution for apps on iPhone 6 and 6 Plus?
If an app is using your location and you lock the device, and if the app continues to use your location in the background, a large status bar is shown to remind you that the app is still using your location.
My iPhone's status bar on lock screen is also bigger than normal, so I think Apple makes it bigger on lock screen for some reason.Maybe just because that it's easier to see.
For your another question, I downloaded GrabTaxi and used it. And maybe it's just because GrabTaxi doesn't adapt to 4.7-inch or 5.5-inch screen.
How do you implement landscape launch screens for iPhones? I've seen the "plist duplicate" posts and added the arrays they suggested to my plist, and added my launch images to my xcassets file which is set as my launch image so it shows as just a black screen. when removing assets catalogue, theres a bar of black on both the left and right side of the screen the whole time the app is running. Also, if its not done through cassettes, what do you name the images and where do they go? Thanks!
Are you asking about launch images or launch screens?
There's no such thing as a landscape launch image for iPhone. You provide a normal launch image in portrait, and if the app launches in landscape, that launch image is automatically turned on its side.
But in this day and age it would be best to forget about launch images and use a launch screen, a xib file or storyboard. It knows nothing of orientation and doesn't need to know anything: you just configure its appearance using autolayout to match whatever the circumstances turn out to be.
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 :)
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.
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.