Why does the iOS Status bar change size on some apps? - ios

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.

Related

Fitting content to iPhone screen

I'm developing a kind of home automation app for iOS. I'm currently running into a spacing problem that I want to have a nice solution to.
The app is always showing a navigation bar and a tab bar, which is quite space consuming. This is a big problem on the current page I'm implementing, which is the Graphs page. In portrait, the spacing is decent, but in landscape mode, I feel like the graphs should be bigger and take up more space than in portrait mode, which is simply not possible with the tab bar and navigation bar.
So my initial thoughts here are if it's "allowed" to hide either the tab bar or navigation bar when in landscape mode (and keep them in portrait mode). What will Apple's reviewers think of this and what will the users think? Will they be confused? Do you guys have any other possible solutions to this?
I'm developing on a iPhone 4C which is quite small. I'm sure it wouldn't be a problem on the iPhone 6, but these small screens needs to be supported.
Thanks for some input on this.
It's absolutely no problem to hide bars in one mode and show them in another, there are a lot of apps that do it, especially when showing graphs.
Alternatively you could hide the bars after a few seconds, and show them again when the user taps the screen or scrolls around (see Safari mobile for an example).

iOS UIAlertController appears bigger than normal

I bought an iOS application template, but I was wondering why the UIAlertController and the status bar do not appear like normal. It appears bigger than the default design.
Why is this happening and how can I solve it?
If your app is not optimized to fit iPhone6/6Plus screen, then it's UI will behave as if it is iPhone5/5s and everything will look bigger than usual.
That might be the reason for zoomed status bar and UIAlertController.

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 :)

iPhone app loading

When I load my iPhone app it always loads a black screen first then pops up the main window. This happens even with a simple empty app with a single window loaded.
I've noticed that when loading, most apps zoom in on the main window (or scale it to fit the screen, however you want to think about it) and then load the content of the screen, with no black screen (see the Contacts app for an example).
How do I achieve this effect?
Add a Default.png to your project. This should be the image you want shown instead of the black launch screen.
Also just to save you some time, there is no way to change this image during the runtime of your application. If you look at Apple's Clock application you can see how depending on the last state of the application, the Default.png changes. You cannot do this in your own app because of permission limits. Also, make sure to read the iPhone HIG for best practices on Default.png use, in short, dont use it as a splash screen like Twitteriffic.
You can also take a screenshot of your app as an aid to creating the Default.png - while holding the Home button, press and release the Lock Sleep/Wake button. The screenshot can be find in your Camery Roll library in the Photos app and can be synced back to your desktop.
When the app transitions from the launch image to the actual app content, it should not be jarring to a user - content (text/images) can be added to the screen, but content should never change. If all this leaves you with is an empty blue header, a white body, and a blue footer - then that's all you should have. If you have a persistent tab bar on the bottom & a localized app (different text descriptions), then then launch image should appear with icons but no text. (See Clock.app & Facebook.app for examples.)
Screenshots can also be taken in XCode using the Screenshot tab in the Organizer window and a plugged-in device.

Resources