Set activities below status Bar - ios

When I deploy my app in iphone simulator, its taking the start of the activivity as the star of the screen, but as I hace controls at the top of some activities, the controls don't work because they are appearing on the status bar.
I need my pages start below the status bar as shown in the picture
I use ContentPages, but I don't know if it is a XAML property or I can do it from code
"Example of Iphone XS Max"
Even tho, it is happening on every device

Use this code in your pages XAML
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
ios:Page.UseSafeArea="true"

Related

IOS UI below top bar

I'm creating a snapchat style app and I'm trying to keep UI below the top status bar (Signal/Time / Battery bar). I have it working on test phones except for iPhone X. I'm not sure if I should be using the extend under top bars / bottom bars feature or not. Is there a way to keep the UI underneath the status bar for all iPhones?
Pre iPhoneX status bar:
iPhone X status bar:
SOLVED: Fixed issue in XCode in the storboard editor by changing the "View As: iPhone model" feature. From there I'm able to modify the UI for each different phone / tablet model.

ons navigator title bar show me extra height on ios devices

i am using ons-navigator
When i test it on iphone it looks like
iphone
and when i test it on android devices it looks like
android
There is some padding added to the top of the page when running on iOS since the status bar is part of the app.
To disable this behavior you can run
ons.disableAutoStatusBarFill()
After loading Onsen UI. However, in most cases you want to have the padding in the status bar.

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

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.

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.

UITabBarController does not respond on iPhone 5 simulator: 4-inch retina display

I have a UITabBarController that displays four options. These have all worked fine until now.
My problem is that the tab bar does not respond only when testing on the 4-inch retina display device in the IOS Simulator. All other devices the tab bar responds and I am able to select other views.
I don't have an iPhone 5 to test it on so I don't know if this is a fault with the simulator or Apple have changed the workings of tab bars etc for the new hardware or made it stricter and I wrote the wrong code in the first place.
I had this issue as well and this worked for me:
Go to the MainWindow.xib, select the Window object and check the "Full Screen at Launch".
In your main window, select the "Full Screen at Launch" option. Here's an image:
Could there possibly be a transparent view over the top of it? The change in view size might be positioning something in the wrong place.

Resources