Mysterious black border (only) at bottom of iPhone first screen - ios

I have an iOS application that I wrote in 2011, and I am in the process of upgrading it for the newest iOS’s and devices. I am getting a thick black border at the bottom of the first screen of my application, for most of the device/simulator and iOS combinations. This is not a black border at the top and bottom of screen problem, which has been dealt with exhaustively in the forums.
There is only one black border, at the bottom of the screen. Also, the border is shown only on the first screen of my application, which has the buttons to go to the rest of the application. Even if I navigate back to the first screen of my application, from somewhere inside the application, the border becomes visible. There is no black border in the other screens of the application, apart from the first screen.
This does not seem to be a launch image problem. I have a launch image, in Default-568h#2x.png, and the launch image is working fine. Following are the configurations for which I get or don’t get the black border:
iPhone 4s (iOS 9.2) simulator - no black border
iPhone 5 (iOS 9.2) simulator - black border
iPhone 5 (iOS 8.1.3) device - no black border
iPhone 5s (iOS 9.2) simulator - black border
iPhone 5s (iOS 9.1) device - black border
iPhone 6s Plus (iOS 9.2) simulator - black border
iPad 2 (iOS 9.2) simulator - no black border
iPad Air (iOS 9.2) simulator - no black border
iPad Air 2 (iOS 9.2) simulator - no black border
iPad Pro (iOS 9.2) simulator - thick black border all the way around the application window
iPad Retina (iOS 9.2) simulator - no black border (at bottom of screen)
I’ve tried everything I could think of, but nothing seems to work.

The following screen shot of the iPhone simulator shows the black border at the bottom of the screen. The size of the simulator image is set to 50% of the full size as shown on the Mac screen, to make it fit on the Mac screen:
The following screen shot shows a screen from inside the application, with no black border at the bottom:

Related

React Native App has black border not edge-to-edge fullscreen in iPad 3rd Generation

My React Native app shows edge-to-edge fullscreen on all iOS versions of iPad and iPhone (including iPhone X with its rounded corners) but on iPad 3rd Generation it shows with a black border around the outside of the app.
How do I make it fullscreen? e.g. I want my app to continue under the the top status bar and into the rounded corners.
e.g. Screenshot shows how the Native Map App works fullscreen but my app only fills the green area and has black borders around the edge.

Top and bottom cut off in iOS simulator [duplicate]

I would like to get some help on how to handle app (storyboard) is set to Universal.
When app run (with a single viewcontroller with a navbar) on a iPhone 5s simulator (with iOS 7.x), a thick black appears on top & bottom
iPhone 5s with iOS 7.x SDK
When switch to iPhone 5.0 with iOS 8.x simulator, no issue.
iPhone 5s with iOS 8.x SDK
Is there any code to fix (remove header & footer) gap in black?
The thick black bars on top and bottom (also known as letterboxing) are because you have no launch image for the 4-inch screen. Add one. Without this, your app is treated as if it were running on a 4s (3.5-inch screen).

Xcode 7 - How to disable iPhone 6 native resolution?

I want my app only to run in iPhone 4 and iPhone 5 resolution. In Xcode 6, you just needed to delete the Launch Screen file in order to lower the resolution ( How to disable iPhone 6 native resolution?)
However, now if you don't have a Launch Screen, your lower resolution apps will show up with black bars on top and bottom. So to fix this you have to add a Launch Screen Storyboard (iOS 9 Xcode 7 - Application appears with black bars on top and bottom)
Is there any way to run apps on lower resolutions without having these black bars show up?

Developing in xcode 6, i want it to scale in iPhone 6 devices

i've created a new app in Xcode 6, the size in the storyboard simulates 4 inch screen.
I want that on iPhone 6/6+ devices it will scale up, and not adjust.
I tried to remove the Launch Screen file, it is now scaled, but now i get 2 black stripes in the upper and bottom of the screen.
Please Help. Thanks.

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