Empty space above and below in Iphone 6.0 retina simulator display 4.0 inches

I have an app with an Apple Connect screen. I run it in iPhone simulator 6.0 with a 4.0 inch retina display. The problem is that it shows a black arrangement above and below. The layout is not adjustable, and free black space enters both above and below. Any solution to the problem?

+4
source share
2 answers

you need to set an default-568h@2x.png image because the iphone5 screen is 4 inches and we can put all the images as a 3.5 inch screen.

please read coderwall for a clearer understanding of image resolution

+3
source

In Xcode 7 Beta 6 Solution:

Select your project on the left β†’ In general settings
In the "Application Icons and Launch Images" section of the "Launch Screen File" select main.storyboard

enter image description here

This should remove the black screen above and below.

0
source

Source: https://habr.com/ru/post/1441210/


All Articles