Nativescript app doesn't show top bar in iOS emulator - ios

I want to run our Nativescript app in the iOS emulator so I can make screenshots of different sizes. However, the top bar that shows the title and the back button isn't shown in the emulator. If I click on it, the button does work, but it's not visible.
How can we get the top bar to be visible in the emulator?
See here the difference:
Screenshot from my iphone including top bar:
Screenshot of emulator:

Updating nativescript to "#nativescript/core": "~8.1.0" resolved this issue :)

Related

Cordova app on iPhone X adds black bar on top of app

I recently updated my Cordova app to fit the the new iPhone X screen layout. To archive that, I
Added "viewport-fit=cover" to the meta-tag
Switched to a storyboard splash screen
As you can see in the attached picture it works fine except for the black bar on the top of the app.
Is there a way to remove the black bar?
Simulator

iOS App is offset from the top of the Screen

I am developing an app (objective c) with a navigation controller. For some reason the whole app is offset from the top of the device. See below, can anyone give me some pointers as I have no idea.
Hiding the Navigation bar makes no difference, either in the storyboard or in code. The storyboard constraints all seem correct, as the title below the navigation bar moves up and down when showing and hiding the navigation bar.
This problem occurs on iPhone SE and iPhone 7, the iPad 2 is ok. The xCode version is 8.1
Any help would be appreciated.
You need to use launch.storyboard in your Project or you need to add launch screens image in your Asset Folder for all the sizes, then this black screen from top and bottom will be removed.
In App Icons and Launch Images setting, you need to set asset and launch screen file. so this black bar will disappear.

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.

Black bar on IOS 7

I have an iPad app. When I used it in iOS 5 or 6 its working fine and the UI also seems to be fine. But the same in iOS 7 a black bar on top, bottom, left and right of the screen appeared. Including on the splash screen.
I had tried it by hiding status bar of all views.But I cant fix the issue.
- (BOOL)prefersStatusBarHidden
{
return YES;
}
Can any one know what is the reason?
The same thing happened to me as a result of downloading the latest version of Xcode
and all I had to do was adjust the frame of my view as it was altered during the download. It's so simple I didn't even think to try it.
How big are the bars? Is there any chance this is actually an iPhone retina app and this is iOS 7's new automatic scaling for the iPad's bigger display instead of the old '2x' mode?
Also, does it behave like this in the simulator and if so, can you post simulator shots of it running under iOS 6 and iOS 7?
See here for what I mean : http://www.iphonehacks.com/2013/07/ios-7-uses-retina-assets-of-iphone-only-apps-on-non-retina-ipad.html

Why is there a black bar on top of my iPhone/iPad app when I run it on the iPhone simulator?

Whenever I run my iPhone / iPad app in the iPhone simulator, a black bar appears along the top of the screen which I can't seem to get rid of. On the iPad simulator, however, it looks fine and works great. Also tapping one of the buttons seems to cause a white screen to appear instead of the view on the iPhone, while on the iPad it doesn't seem to be troublesome.
http://twitpic.com/1gutqp
http://twitpic.com/1gutjr
That's the status bar. When you're running on the iPad, you only get the one on top of the screen, not on the top of the iPhone screen.

Resources